Run timesave systemd unit on shutdown
This commit is contained in:
parent
0635fa703d
commit
ac61d0af39
|
@ -3,7 +3,9 @@ Description=PirateBox timesave service
|
|||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
RemainAfterExit=true
|
||||
ExecStart=/opt/piratebox/bin/timesave.sh /opt/piratebox/conf/piratebox.conf recover
|
||||
ExecStop=/opt/piratebox/bin/timesave.sh /opt/piratebox/conf/piratebox.conf save
|
||||
TimeoutSec=20
|
||||
|
||||
[Install]
|
||||
|
|
Loading…
Reference in New Issue