mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2024-12-14 02:14:26 -05:00
16 lines
624 B
Desktop File
16 lines
624 B
Desktop File
[Unit]
|
|
Description=monero-wallet-rpc for the automated swap backend (asb)
|
|
Requires=start-monerod.service
|
|
OnFailure=unit-status-email@%n.service
|
|
|
|
[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
|
|
User=asb
|
|
Group=asb
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|