1
0
mirror of https://github.com/GOSTSec/gostcoin synced 2025-01-14 16:57:54 +00:00
gostcoin/contrib/systemd/gostcoin.service

25 lines
806 B
SYSTEMD
Raw Permalink Normal View History

# It is not recommended to modify this file in-place, because it will
# be overwritten during package upgrades. If you want to add further
# options or overwrite existing ones then use
# $ systemctl edit gostcoin.service
# See "man systemd.service" for details.
# Note that almost all daemon options could be specified in
# /etc/gostcoin/gostcoin.conf
[Unit]
Description=GOSTcoin daemon
After=network.target
After=i2pd.service
[Service]
ExecStart=/usr/sbin/gostcoind -daemon -datadir=/var/lib/gostcoin -conf=/etc/gostcoin/gostcoin.conf -pid=/run/gostcoind/gostcoind.pid
ExecStop=/usr/sbin/gostcoind -conf=/etc/gostcoin/gostcoin.conf stop
# Creates /run/gostcoind owned by gostcoin
RuntimeDirectory=gostcoind
User=gostcoin
Type=forking
PIDFile=/run/gostcoind/gostcoind.pid
Restart=always
PrivateTmp=true