net-p2p/dogecoind-1.5.1-r1
[portage-squeep] / net-p2p / dogecoind / files / dogecoin.service
1 # It's not recommended to modify this file in-place, because it will be
2 # overwritten during package upgrades. If you want to customize, the
3 # best way is to create file
4 # "/etc/systemd/system/dogecoind.service.d/*.conf"
5 # containing your changes
6
7 # For example, if you want to change some daemon and/or unit options,
8 # create a file named
9 # "/etc/systemd/system/dogecoind.service.d/myopts.conf"
10 # containing:
11 # [Service]
12 # Environment="DOGECOIN_OPTS=-debug -logtimestamps"
13 # Nice=10
14 # This will override the setting appearing below.
15
16 # Note that almost all daemon options could be specified in
17 # /etc/dogecoin/dogecoin.conf
18
19 [Unit]
20 Description=Dogecoin Daemon
21 After=network.target
22
23 [Service]
24 User=dogecoin
25 Environment=DOGECOIN_OPTS=
26 ExecStart=/usr/bin/dogecoind -daemon=0 $DOGECOIN_OPTS
27 ExecReload=/bin/kill -HUP $MAINPID
28
29 [Install]
30 WantedBy=multi-user.target