ioemu/sats-debug@.service

15 lines
382 B
SYSTEMD
Raw Normal View History

[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
2018-01-29 17:32:48 +00:00
ExecStart=/bin/bash /home/pi/debug/sats/main %i
ExecStop=-/bin/rm /home/pi/debug/sats/.lock
[Install]
WantedBy=multi-user.target