[Unit] Description=[::SATS::] Debugger (to %i) [Service] Type=simple Restart=always User=pi Group=pi ExecStartPre=/usr/bin/sudo -u sats git clone --recursive -b master ssh://smmp-server/satsd/debug /home/pi/debug ExecStartPre=/usr/bin/sudo chown -R pi:pi /home/pi/debug ExecStartPre=/usr/bin/sudo chmod -R 750 /home/pi/debug ExecStart=/bin/bash /home/pi/debug/sats/main %i ExecStop=/bin/sleep 10 [Install] WantedBy=multi-user.target