2021-06-28 00:42:39 +08:00
|
|
|
[Unit]
|
|
|
|
Description="n9e-server"
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=simple
|
2021-08-04 22:33:43 +08:00
|
|
|
ExecStart=/opt/n9e/server/n9e-server
|
|
|
|
WorkingDirectory=/opt/n9e/server
|
2021-06-28 00:42:39 +08:00
|
|
|
|
|
|
|
Restart=always
|
|
|
|
RestartSecs=1s
|
|
|
|
SuccessExitStatus=0
|
|
|
|
LimitNOFILE=65536
|
|
|
|
StandardOutput=syslog
|
|
|
|
StandardError=syslog
|
|
|
|
SyslogIdentifier=n9e-server
|
|
|
|
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|