updated service file: now removes the .lock file on stop
This commit is contained in:
parent
b2f9cf418f
commit
2ac0ddce13
|
@ -9,5 +9,7 @@ ExecStartPre=-/usr/bin/git clone --recursive -b master ssh://smmp-server/satsd/d
|
||||||
ExecStartPre=-/usr/bin/git -C /home/pi/debug pull origin master
|
ExecStartPre=-/usr/bin/git -C /home/pi/debug pull origin master
|
||||||
ExecStart=/bin/bash /home/pi/debug/sats/main %i
|
ExecStart=/bin/bash /home/pi/debug/sats/main %i
|
||||||
|
|
||||||
|
ExecStop=-/bin/rm /home/pi/debug/sats/.lock
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
Loading…
Reference in New Issue