From d96d8ffef186ed58bdbdbdaa8fea3043a985a282 Mon Sep 17 00:00:00 2001 From: Matthias Wirth Date: Fri, 22 May 2020 05:17:34 +0200 Subject: [PATCH] prevent misunderstandings --- install.sh | 5 +++-- tar1090.service | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/install.sh b/install.sh index 9b30f87..ea97c2d 100755 --- a/install.sh +++ b/install.sh @@ -145,8 +145,9 @@ fi # copy over base files -cp default install.sh uninstall.sh LICENSE README.md \ - $ipath +cp install.sh uninstall.sh LICENSE README.md $ipath +cp default $ipath/example_config_dont_edit +rm -f $ipath/default services="" diff --git a/tar1090.service b/tar1090.service index 0cf8d26..72c5f08 100644 --- a/tar1090.service +++ b/tar1090.service @@ -9,7 +9,7 @@ User=tar1090 SyslogIdentifier=SERVICE RuntimeDirectory=SERVICE RuntimeDirectoryMode=0755 -EnvironmentFile=/usr/local/share/tar1090/default +EnvironmentFile=/usr/local/share/tar1090/example_config_dont_edit EnvironmentFile=/etc/default/SERVICE ExecStart=/usr/local/share/tar1090/tar1090.sh /run/SERVICE SOURCE_DIR "$INTERVAL" "$HISTORY_SIZE" "$CHUNK_SIZE" "$ENABLE_978" "$URL_978" "$INT_978" "$PF_URL" "$COMPRESS_978" Type=simple