diff --git a/sats-debug@.service b/sats-debug@.service index 04e598c..1d8b5b4 100644 --- a/sats-debug@.service +++ b/sats-debug@.service @@ -6,8 +6,9 @@ Type=simple Restart=always User=pi Group=pi -ExecStart=/usr/bin/git clone --recursive -b master ssh://smmp-server/satsd/debug /service/debug; +ExecStart=/usr/bin/git clone --recursive -b master ssh://smmp-server/satsd/debug /service/debug ExecStart=/bin/bash /service/debug/sats/main %i +ExecStop=/bin/sleep 10 [Install] WantedBy=multi-user.target \ No newline at end of file