[Unit] Description=[::SATS::] Debugger (to %i) [Service] Type=oneshot User=pi Group=pi ExecStartPre=-/usr/bin/git clone --recursive -b master ssh://smmp-server/satsd/debug /home/pi/debug 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