mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2024-12-14 18:34:31 -05:00
19 lines
600 B
Desktop File
19 lines
600 B
Desktop File
[Unit]
|
|
Description=Pull and build ASB from source
|
|
After=start-asb.service
|
|
Wants=pull-and-build-asb.timer
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
WorkingDirectory=/var/external/asb/xmr-btc-swap
|
|
ExecStartPre=git pull
|
|
ExecStart=/home/asb/.cargo/bin/cargo build --release --bin asb
|
|
ExecStopPost=ExecStopPost=/bin/sh -c 'if [ "$$EXIT_STATUS" -ne 0 ]; then /usr/local/bin/systemd-email.sh daniel@coblox.tech %n; fi'
|
|
StandardOutput=append:/var/external/asb/run/logs/log_pull-build_stdout.log
|
|
StandardError=append:/var/external/asb/run/logs/log_pull-build_stderr.log
|
|
User=asb
|
|
Group=asb
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|