Fix server offline issue by updating OGP references to match agent changes

Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot] 2025-09-05 23:02:41 +00:00
parent acb647488e
commit 08f83918f1
8 changed files with 49 additions and 50 deletions

View file

@ -1,16 +1,15 @@
# ogp_agent systemd Service Script
# By Open Game Panel
# OGP <own3mall@gmail.com>
# Game Server Agent systemd Service Script
# By Game Server Panel
[Unit]
Description=Open Game Panel (OGP) Daemon www.opengamepanel.org
Description=Game Server Agent Daemon
After=network.target
[Service]
Type=oneshot
ExecStart=/bin/sh -c "{OGP_AGENT_PATH}/ogp_agent_init start"
ExecStop=/bin/sh -c "{OGP_AGENT_PATH}/ogp_agent_init stop"
ExecStart=/bin/sh -c "{OGP_AGENT_PATH}/agent_init start"
ExecStop=/bin/sh -c "{OGP_AGENT_PATH}/agent_init stop"
RemainAfterExit=yes
PIDFile="{OGP_AGENT_PATH}/ogp_agent_run.pid"
PIDFile="{OGP_AGENT_PATH}/agent_run.pid"
[Install]
WantedBy=multi-user.target