neobytes/contrib/init/neobytesd.service

23 lines
488 B
SYSTEMD
Raw Normal View History

2024-02-05 23:00:22 +01:00
[Unit]
Description=NeoBytes distributed currency daemon
After=network.target
[Service]
User=neobytescore
Group=neobytescore
Type=forking
PIDFile=/var/lib/neobytesd/neobytesd.pid
ExecStart=/usr/bin/neobytesd -daemon -pid=/var/lib/neobytesd/neobytesd.pid \
-conf=/etc/neobytescore/neobytes.conf -datadir=/var/lib/neobytesd -disablewallet
Restart=always
PrivateTmp=true
TimeoutStopSec=60s
TimeoutStartSec=2s
StartLimitInterval=120s
StartLimitBurst=5
[Install]
WantedBy=multi-user.target