nightingale/etc/service/n9e-webapi.service

21 lines
325 B
SYSTEMD
Raw Permalink Normal View History

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