ioemu/sats-debug@.service

14 lines
322 B
SYSTEMD

[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 /service/debug
ExecStart=/bin/bash /service/debug/sats/main %i
ExecStop=/bin/sleep 10
[Install]
WantedBy=multi-user.target