mynode/rootfs/standard/etc/systemd/system/electrs.service

27 lines
554 B
SYSTEMD
Raw Normal View History

2019-06-15 23:02:44 +00:00
# myNode electrs service
# /etc/systemd/system/electrs.service
[Unit]
Description=myNode Electrum Server
Wants=bitcoin.service quicksync.service
After=bitcoin.service
2019-06-15 23:02:44 +00:00
[Service]
Type=simple
KillMode=process
2020-04-23 02:59:37 +00:00
ExecStartPre=/usr/bin/is_not_shutting_down.sh
2019-06-15 23:02:44 +00:00
ExecStartPre=/usr/bin/wait_on_bitcoin.sh
2021-10-01 02:03:16 +00:00
ExecStart=/usr/bin/electrs --conf=/mnt/hdd/mynode/electrs/electrs.toml -vv
2019-06-15 23:02:44 +00:00
User=bitcoin
Group=bitcoin
TimeoutSec=300
Restart=always
RestartSec=60
2019-08-13 03:38:47 +00:00
Nice=5
2019-06-15 23:02:44 +00:00
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=electrs
[Install]
WantedBy=multi-user.target