Fix asb name changes

This commit is contained in:
Daniel Karzel 2021-03-10 22:53:50 +11:00
parent a22a975a4c
commit 9c1cd794dd
4 changed files with 5 additions and 5 deletions

View File

@ -1,6 +1,6 @@
[Unit]
Description=Pull and build ASB from source
Wants=pull-and-build-asb.timer
Wants=asb-pull-and-build.timer
OnFailure=unit-status-email@%n.service
[Service]

View File

@ -1,11 +1,11 @@
[Unit]
Description=Restart ASB service
After=watch-asb-binary-change.path
After=asb-watch-binary-change.path
OnFailure=unit-status-email@%n.service
[Service]
Type=oneshot
ExecStart=/usr/bin/systemctl restart start-asb.service
ExecStart=/usr/bin/systemctl restart asb.service
# notify upon restart to know that the service was restarted
ExecStartPost=/usr/bin/bash -c '/usr/local/bin/systemd-email.sh daniel@coblox.tech %n'

View File

@ -1,5 +1,5 @@
[Path]
Unit=restart-asb.service
Unit=asb-restart.service
PathChanged=/var/external/asb/xmr-btc-swap/target/release/asb
[Install]

View File

@ -1,6 +1,6 @@
[Unit]
Description=Run the automated swap backend
Requires=start-monero-wallet-rpc.service
Requires=monero-wallet-rpc.service
OnFailure=unit-status-email@%n.service
[Service]