ioemu/sats-debug@.service

13 lines
337 B
SYSTEMD

[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
[Install]
WantedBy=multi-user.target