internals

This commit is contained in:
Matthias Wirth
2019-10-17 16:56:02 +02:00
parent 7cf90601dd
commit 170ea41010
3 changed files with 3 additions and 1 deletions

View File

@@ -21,3 +21,4 @@ URL_978="http://127.0.0.1/skyaware978"
CHUNK_SIZE=60
INT_978=1
PF_URL="http://127.0.0.1:30053/ajax/aircraft"
COMPRESS_978=""

View File

@@ -11,7 +11,7 @@ RuntimeDirectory=INSTANCE
RuntimeDirectoryMode=0755
EnvironmentFile=/usr/local/share/tar1090/default
EnvironmentFile=/etc/default/INSTANCE
ExecStart=-/usr/local/share/tar1090/tar1090.sh /run/INSTANCE SOURCE_DIR $INTERVAL $HISTORY_SIZE $CHUNK_SIZE $ENABLE_978 $URL_978 $INT_978 $PF_URL
ExecStart=-/usr/local/share/tar1090/tar1090.sh /run/INSTANCE SOURCE_DIR $INTERVAL $HISTORY_SIZE $CHUNK_SIZE $ENABLE_978 $URL_978 $INT_978 $PF_URL $COMPRESS_978
Type=simple
Restart=always
RestartSec=30

View File

@@ -14,6 +14,7 @@ ENABLE_978=$6
URL_978=$7
INT_978=$8
PF_URL=$9
COMPRESS_978=${10}
if ! [[ -d $RUN_DIR && -d $SRC_DIR ]]
then