2021-02-22 04:21:52 -05:00
|
|
|
[Unit]
|
|
|
|
Description=Run the automated swap backend
|
2021-02-23 20:14:34 -05:00
|
|
|
Requires=start-monero-wallet-rpc.service
|
2021-02-23 20:12:38 -05:00
|
|
|
OnFailure=unit-status-email@%n.service
|
2021-02-22 04:21:52 -05:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
WorkingDirectory=/var/external/asb/xmr-btc-swap
|
|
|
|
ExecStart=/home/asb/.cargo/bin/cargo run --release --bin asb -- --config /var/external/asb/run/asb-config/config.toml start
|
2021-02-23 18:14:27 -05:00
|
|
|
StandardOutput=append:/var/external/asb/run/logs/start-asb.log
|
|
|
|
StandardError=append:/var/external/asb/run/logs/start-asb.log
|
2021-02-22 04:21:52 -05:00
|
|
|
Restart=on-failure
|
|
|
|
User=asb
|
|
|
|
Group=asb
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|