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:
Daniel Karzel 2021-02-24 12:14:34 +11:00
parent fbd0eb7548
commit fbbae0eebd

View File

@ -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]