update service file
This commit is contained in:
parent
4d3ca94e4c
commit
e29407486d
|
@ -1,19 +0,0 @@
|
||||||
[Unit]
|
|
||||||
Description="n9e-agentd"
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
Type=simple
|
|
||||||
ExecStart=/opt/n9e/n9e-agentd -c /opt/n9e/etc/agentd.yml
|
|
||||||
WorkingDirectory=/opt/n9e
|
|
||||||
|
|
||||||
Restart=always
|
|
||||||
RestartSecs=1s
|
|
||||||
SuccessExitStatus=0
|
|
||||||
LimitNOFILE=65536
|
|
||||||
StandardOutput=syslog
|
|
||||||
StandardError=syslog
|
|
||||||
SyslogIdentifier=n9e-agentd
|
|
||||||
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=multi-user.target
|
|
|
@ -3,8 +3,8 @@ Description="n9e-server"
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
ExecStart=/opt/n9e/n9e-server
|
ExecStart=/opt/n9e/server/n9e-server
|
||||||
WorkingDirectory=/opt/n9e
|
WorkingDirectory=/opt/n9e/server
|
||||||
|
|
||||||
Restart=always
|
Restart=always
|
||||||
RestartSecs=1s
|
RestartSecs=1s
|
||||||
|
|
Loading…
Reference in New Issue