internals
This commit is contained in:
1
default
1
default
@@ -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=""
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user