diff --git a/sats-debug@.service b/sats-debug@.service index 0c28873..a93fd9f 100644 --- a/sats-debug@.service +++ b/sats-debug@.service @@ -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 \ No newline at end of file