xmr-btc-swap/docs/setup/asb/systemd/asb-pull-and-build.service
2021-03-09 17:20:58 +11:00

16 lines
334 B
Desktop File

[Unit]
Description=Pull and build ASB from source
Wants=pull-and-build-asb.timer
OnFailure=unit-status-email@%n.service
[Service]
Type=oneshot
WorkingDirectory=/var/external/asb/xmr-btc-swap
ExecStartPre=git pull
ExecStart=/home/asb/.cargo/bin/cargo build --release --bin asb
User=asb
Group=asb
[Install]
WantedBy=multi-user.target