Revert "Complete rebrand from Open Game Panel (OGP) to GameServer Panel (GSP)"

This commit is contained in:
Frank Harris 2025-09-08 12:42:34 -05:00 committed by GitHub
parent 02c94766c6
commit deee7d6ac5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
308 changed files with 1412 additions and 1412 deletions

View file

@ -0,0 +1,25 @@
#!/sbin/runscript
# Distributed under the terms of the GNU General Public License v2
# GF: Config is in $agent_dir/Cfg/Config.pm
agent_dir=OGP_AGENT_DIR
agent_user=OGP_USER
depend() {
need net
}
start() {
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 Game Server Agent"
start-stop-daemon --stop --quiet --pidfile $agent_dir/agent_run.pid
eend $? "Failed to stop Game Server Agent"
}