Use %t in the service file
This commit is contained in:
parent
d66a05b019
commit
719e004c7a
2
debian/dump1090-fa.service
vendored
2
debian/dump1090-fa.service
vendored
|
@ -10,7 +10,7 @@ After=network.target
|
||||||
User=dump1090
|
User=dump1090
|
||||||
RuntimeDirectory=dump1090-fa
|
RuntimeDirectory=dump1090-fa
|
||||||
RuntimeDirectoryMode=0755
|
RuntimeDirectoryMode=0755
|
||||||
ExecStart=/usr/share/dump1090-fa/start-dump1090-fa --write-json /run/dump1090-fa --quiet
|
ExecStart=/usr/share/dump1090-fa/start-dump1090-fa --write-json %t/dump1090-fa --quiet
|
||||||
Type=simple
|
Type=simple
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
RestartSec=30
|
RestartSec=30
|
||||||
|
|
Loading…
Reference in a new issue