Files
tar1090/tar1090.service
Matthias Wirth 92d3e42626 make gzip level configurable
from previous settings the default will use less CPU.
the default will also increase network bandwith for viewing the page
slightly.
2020-07-24 17:54:08 +02:00

22 lines
484 B
Desktop File

# tar1090 systemd unit file
[Unit]
Description=SERVICE - compress dump1090 json data
Wants=network.target
After=network.target
[Service]
User=tar1090
SyslogIdentifier=SERVICE
RuntimeDirectory=SERVICE
RuntimeDirectoryMode=0755
EnvironmentFile=/usr/local/share/tar1090/example_config_dont_edit
EnvironmentFile=/etc/default/SERVICE
ExecStart=/usr/local/share/tar1090/tar1090.sh /run/SERVICE SOURCE_DIR
Type=simple
Restart=always
RestartSec=30
Nice=19
[Install]
WantedBy=default.target