mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2024-12-13 18:04:31 -05:00
18 lines
647 B
Desktop File
18 lines
647 B
Desktop File
[Unit]
|
|
Description=monerod for the automated swap backend (asb)
|
|
After=network.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
|
|
User=asb
|
|
Group=asb
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|