summarylogtreecommitdiffstats
path: root/bitcoincash.service
blob: d05708bebb6946d9cc09605d3b21e758d2c76126 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
[Unit]
Description=Bitcoin Cash Daemon
After=network.target

[Service]
User=bitcoincash
Group=bitcoincash
ExecStart=/usr/bin/bitcoincashd -daemon=0                               \
                                -conf=/etc/bitcoincash/bitcoincash.conf \
                                -datadir=/srv/bitcoincash               \
                                -pid=/run/bitcoincash/bitcoincashd.pid
ExecReload=/usr/bin/kill -HUP $MAINPID
ExecStop=/usr/bin/bitcoincashd stop
PrivateTmp=true
RuntimeDirectory=bitcoincash

[Install]
WantedBy=multi-user.target