2021-02-22 04:21:52 -05:00
|
|
|
[Unit]
|
|
|
|
Description=Pull and build ASB from source
|
|
|
|
Wants=pull-and-build-asb.timer
|
2021-02-23 20:12:38 -05:00
|
|
|
OnFailure=unit-status-email@%n.service
|
2021-02-22 04:21:52 -05:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=oneshot
|
|
|
|
WorkingDirectory=/var/external/asb/xmr-btc-swap
|
|
|
|
ExecStartPre=git pull
|
|
|
|
ExecStart=/home/asb/.cargo/bin/cargo build --release --bin asb
|
2021-02-23 18:14:27 -05:00
|
|
|
StandardOutput=append:/var/external/asb/run/logs/pull-and-build.log
|
|
|
|
StandardError=append:/var/external/asb/run/logs/pull-and-build.log
|
2021-02-22 04:21:52 -05:00
|
|
|
User=asb
|
|
|
|
Group=asb
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|