2019-11-06 13:09:07 +00:00
|
|
|
[Unit]
|
|
|
|
Description=Neo Go node
|
|
|
|
Requires=network.target
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=simple
|
2019-11-13 12:05:13 +00:00
|
|
|
ExecStart=BINDIR/neo-go node --mainnet --config-path=SYSCONFIGDIR/neo-go
|
2019-11-06 13:09:07 +00:00
|
|
|
User=neo-go
|
|
|
|
Group=neo-go
|
|
|
|
Restart=always
|
|
|
|
RestartSec=5
|
|
|
|
StandardError=syslog
|
|
|
|
SyslogIdentifier=neo-go
|
|
|
|
PrivateTmp=true
|
2019-11-13 12:05:13 +00:00
|
|
|
WorkingDirectory=UNITWORKDIR
|
2019-11-06 13:09:07 +00:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|