diff --git a/etc/service/n9e-agentd.service b/etc/service/n9e-agentd.service deleted file mode 100644 index 30e57670..00000000 --- a/etc/service/n9e-agentd.service +++ /dev/null @@ -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 diff --git a/etc/service/n9e-server.service b/etc/service/n9e-server.service index 4984d77d..02d345f7 100644 --- a/etc/service/n9e-server.service +++ b/etc/service/n9e-server.service @@ -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