mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2024-10-01 01:45:40 -04:00
Switch from After to Required
start-asb.service should not start up if start-monero-wallet-rpc.service failed on startup. This dependency is better expressed with Requires than with After because Requires will not start the unit upon failure of the required one.
This commit is contained in:
parent
fbd0eb7548
commit
fbbae0eebd
@ -1,6 +1,6 @@
|
||||
[Unit]
|
||||
Description=Run the automated swap backend
|
||||
After=start-monero-wallet-rpc.service
|
||||
Requires=start-monero-wallet-rpc.service
|
||||
OnFailure=unit-status-email@%n.service
|
||||
|
||||
[Service]
|
||||
|
Loading…
Reference in New Issue
Block a user