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

@ -12,14 +12,14 @@ depend() {
}
start() {
ebegin "Starting OGP Agent"
start-stop-daemon --verbose --chdir $agent_dir --start --background --user $agent_user -e PWD="$agent_dir" --exec screen -d -m -t ogp_agent -c ogp_screenrc -S ogp_agent ./ogp_agent_run -pidfile ogp_agent_run.pid
eend $? "Failed to start OGP Agent"
ebegin "Starting Game Server Agent"
start-stop-daemon --verbose --chdir $agent_dir --start --background --user $agent_user -e PWD="$agent_dir" --exec screen -d -m -t agent -c screenrc -S agent ./agent_run -pidfile agent_run.pid
eend $? "Failed to start Game Server Agent"
}
stop() {
ebegin "Stopping OGP Agent"
start-stop-daemon --stop --quiet --pidfile $agent_dir/ogp_agent_run.pid
eend $? "Failed to stop OGP Agent"
ebegin "Stopping Game Server Agent"
start-stop-daemon --stop --quiet --pidfile $agent_dir/agent_run.pid
eend $? "Failed to stop Game Server Agent"
}