Panel/_agent-linux/systemd/gsp_agent.service
copilot-swe-agent[bot] 4b771d498f Phase 2: Rename critical files (ogp_api.php to gsp_api.php, logos, agent files)
Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
2025-09-08 15:49:50 +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 "{GSP_AGENT_PATH}/agent_init start"
ExecStop=/bin/sh -c "{GSP_AGENT_PATH}/agent_init stop"
RemainAfterExit=yes
PIDFile="{GSP_AGENT_PATH}/agent_run.pid"
[Install]
WantedBy=multi-user.target