summarylogtreecommitdiffstats
path: root/gostcoind.service
blob: 6e71a102fd53dd01c3472feff323d4c1d57ba258 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
[Unit]
Description=Coin based on GOST R 34.10 and GOST R 34.11-2012 with I2P support
After=network.target
Wants=i2pd.target

[Service]
User=gostcoin
Group=gostcoin
RuntimeDirectory=gostcoind
RuntimeDirectoryMode=0700
WorkingDirectory=~
Type=simple
ExecStart=/usr/bin/gostcoind -daemon -conf=/etc/gostcoind.conf -datadir=/var/lib/gostcoin -pid=/run/gostcoind/gostcoind.pid
ExecReload=/bin/kill -HUP $MAINPID
PIDFile=/run/gostcoind/gostcoind.pid

### Uncomment, if auto restart needed
#Restart=on-failure

[Install]
WantedBy=multi-user.target