updated service file: now removes the .lock file on stop

This commit is contained in:
xdrm-brackets 2018-01-29 20:02:38 +01:00
parent b2f9cf418f
commit 2ac0ddce13
1 changed files with 2 additions and 0 deletions

View File

@ -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
ExecStart=/bin/bash /home/pi/debug/sats/main %i
ExecStop=-/bin/rm /home/pi/debug/sats/.lock
[Install]
WantedBy=multi-user.target