Panel/_agent-linux/systemd/ogp_agent.service
copilot-swe-agent[bot] 08f83918f1 Fix server offline issue by updating OGP references to match agent changes
Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
2025-09-05 23:02:41 +00:00

15 lines
366 B
Desktop File

# Game Server Agent systemd Service Script
# By Game Server Panel
[Unit]
Description=Game Server Agent Daemon
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"
RemainAfterExit=yes
PIDFile="{OGP_AGENT_PATH}/agent_run.pid"
[Install]
WantedBy=multi-user.target