nightingale/etc/service/n9e-server.service

21 lines
325 B
SYSTEMD
Raw Normal View History

[Unit]
Description="n9e-server"
2021-11-28 18:57:49 +08:00
After=network.target
[Service]
Type=simple
2021-11-28 18:57:49 +08:00
ExecStart=/root/gopath/src/n9e/n9e server
WorkingDirectory=/root/gopath/src/n9e
Restart=on-failure
SuccessExitStatus=0
LimitNOFILE=65536
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=n9e-server
[Install]
WantedBy=multi-user.target