add startup scripts and configs
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
[Unit]
|
||||
Description=FlightWall LED display
|
||||
After=network.target flightwall-dump1090.service
|
||||
Wants=flightwall-dump1090.service
|
||||
|
||||
[Service]
|
||||
EnvironmentFile=__INSTALL_DIR__/flightwall.conf
|
||||
WorkingDirectory=__INSTALL_DIR__
|
||||
ExecStart=__INSTALL_DIR__/app --lat ${LAT} --lon ${LON} --ip ${SBS_IP} --port ${SBS_PORT} --stale ${STALE_SECONDS}
|
||||
Restart=always
|
||||
RestartSec=3
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user