diff --git a/docs/setup/asb/systemd/asb-pull-and-build.service b/docs/setup/asb/systemd/asb-pull-and-build.service index ad3e752c..8bb363b8 100644 --- a/docs/setup/asb/systemd/asb-pull-and-build.service +++ b/docs/setup/asb/systemd/asb-pull-and-build.service @@ -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] diff --git a/docs/setup/asb/systemd/asb-restart.service b/docs/setup/asb/systemd/asb-restart.service index 3c4e037d..3b2ad32f 100644 --- a/docs/setup/asb/systemd/asb-restart.service +++ b/docs/setup/asb/systemd/asb-restart.service @@ -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' diff --git a/docs/setup/asb/systemd/asb-watch-binary-change.path b/docs/setup/asb/systemd/asb-watch-binary-change.path index c159ba60..f37794ab 100644 --- a/docs/setup/asb/systemd/asb-watch-binary-change.path +++ b/docs/setup/asb/systemd/asb-watch-binary-change.path @@ -1,5 +1,5 @@ [Path] -Unit=restart-asb.service +Unit=asb-restart.service PathChanged=/var/external/asb/xmr-btc-swap/target/release/asb [Install] diff --git a/docs/setup/asb/systemd/asb.service b/docs/setup/asb/systemd/asb.service index b756d9f6..20e94085 100644 --- a/docs/setup/asb/systemd/asb.service +++ b/docs/setup/asb/systemd/asb.service @@ -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]