Revert "Fix server offline issue after OGP reference removal in PR #5"

This commit is contained in:
Frank Harris 2025-09-05 19:16:04 -04:00 committed by GitHub
parent 15d147faab
commit 1ac7d9b3c5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
23 changed files with 65 additions and 64 deletions

View file

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