Use %t in the service file

This commit is contained in:
Oliver Jowett 2019-03-11 18:16:00 +00:00
parent d66a05b019
commit 719e004c7a

View file

@ -10,7 +10,7 @@ After=network.target
User=dump1090
RuntimeDirectory=dump1090-fa
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
Restart=on-failure
RestartSec=30