From e27677111ee3fce511bf00aad8ff85bc470a3497 Mon Sep 17 00:00:00 2001 From: Matthias Wirth Date: Sun, 6 Oct 2024 20:35:57 +0200 Subject: [PATCH] install script: fix systemd check --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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