update service file

This commit is contained in:
710leo 2021-08-04 22:33:43 +08:00
parent 4d3ca94e4c
commit e29407486d
2 changed files with 2 additions and 21 deletions

View File

@ -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

View File

@ -3,8 +3,8 @@ Description="n9e-server"
[Service]
Type=simple
ExecStart=/opt/n9e/n9e-server
WorkingDirectory=/opt/n9e
ExecStart=/opt/n9e/server/n9e-server
WorkingDirectory=/opt/n9e/server
Restart=always
RestartSecs=1s