install script: fix systemd check

This commit is contained in:
Matthias Wirth
2024-10-06 20:35:57 +02:00
parent 4e7950eba0
commit e27677111e

View File

@@ -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