mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-01-20 20:31:51 -05:00
more cleanup
This commit is contained in:
parent
70a90241cc
commit
cfb885c49e
@ -7,7 +7,7 @@ OnFailure=unit-status-email@%n.service
|
||||
Type=simple
|
||||
ExecStart=/var/external/asb/monero/bin/monero-wallet-rpc --stagenet --daemon-address 127.0.0.1:38081 --rpc-bind-port 38083 --disable-rpc-login --wallet-dir /var/external/asb/monero/data/stagenet/asb-wallets
|
||||
ExecStartPost=/usr/bin/bash -c "i=1; while [ $i -ne 0 ]; do tail -n1 /var/external/asb/monero/bin/monero-wallet-rpc.log | grep 'Starting wallet RPC server'; i=$?; sleep 5; done"
|
||||
Restart=always
|
||||
Restart=on-failure
|
||||
User=asb
|
||||
Group=asb
|
||||
|
||||
|
@ -1,15 +1,19 @@
|
||||
[Unit]
|
||||
Description=monerod for the automated swap backend (asb)
|
||||
After=network.target
|
||||
|
||||
# https://www.freedesktop.org/wiki/Software/systemd/NetworkTarget/
|
||||
After=network-online.target
|
||||
Wants=network-online.target
|
||||
|
||||
OnFailure=unit-status-email@%n.service
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
|
||||
ExecStart=/var/external/asb/monero/bin/monerod --stagenet --data-dir /var/external/asb/monero/data/stagenet/monerod --non-interactive
|
||||
# ExecStartPost=/usr/bin/bash -c "i=1; while [ $i -ne 0 ]; do cat /var/external/asb/monero/bin/monerod.log | grep 'core RPC server started ok'; i=$?; sleep 1; done"
|
||||
# StandardOutput=append:/var/external/asb/monero/bin/monerod.log
|
||||
# StandardError=append:/var/external/asb/monero/bin/monerod.log
|
||||
Restart=always
|
||||
|
||||
Restart=on-failure
|
||||
|
||||
User=asb
|
||||
Group=asb
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user