diff --git a/install.sh b/install.sh index 462b90f..d12d8e2 100755 --- a/install.sh +++ b/install.sh @@ -24,7 +24,7 @@ if [[ -n "$4" ]] && grep -qs -e 'tar1090' "$4/install.sh"; then git_source="$4"; lighttpd=no nginx=no -function useSystemd () { command -v systemd &>/dev/null; } +function useSystemd () { command -v systemctl &>/dev/null; } gpath="$TAR1090_UPDATE_DIR" if [[ -z "$gpath" ]]; then gpath="$ipath"; fi