mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-04-21 00:06:38 -04:00
Fix asb name changes
This commit is contained in:
parent
a22a975a4c
commit
9c1cd794dd
@ -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]
|
||||
|
@ -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'
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
[Path]
|
||||
Unit=restart-asb.service
|
||||
Unit=asb-restart.service
|
||||
PathChanged=/var/external/asb/xmr-btc-swap/target/release/asb
|
||||
|
||||
[Install]
|
||||
|
@ -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]
|
||||
|
Loading…
x
Reference in New Issue
Block a user