summarylogtreecommitdiffstats
path: root/emercoind.service
blob: ee047c1c27f27c265bb976ca24f4ba595c750cb6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[Unit]
Description=Emercoin Wallet
After=network.target

[Service]
Type=forking
User=emercoin
Group=emercoin
ExecStart=/usr/bin/emercoind -daemon -pid=/var/lib/emc/.emercoin/emercoind.pid
ExecStop=/usr/bin/emercoin-cli -datadir=/var/lib/emc/.emercoin stop
PIDFile=/var/lib/emc/.emercoin/emercoind.pid
Restart=on-failure

[Install]
WantedBy=multi-user.target