2018-01-29 13:04:31 +00:00
|
|
|
[Unit]
|
|
|
|
Description=[::SATS::] Debugger (to %i)
|
|
|
|
|
|
|
|
[Service]
|
2018-01-29 17:49:34 +00:00
|
|
|
Type=oneshot
|
2018-01-29 13:04:31 +00:00
|
|
|
User=pi
|
|
|
|
Group=pi
|
2018-01-29 17:49:34 +00:00
|
|
|
ExecStartPre=-/usr/bin/git clone --recursive -b master ssh://smmp-server/satsd/debug /home/pi/debug
|
2018-01-29 18:07:53 +00:00
|
|
|
ExecStartPre=-/usr/bin/git -C /home/pi/debug pull origin master
|
2018-01-29 17:32:48 +00:00
|
|
|
ExecStart=/bin/bash /home/pi/debug/sats/main %i
|
2018-01-29 13:04:31 +00:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|