GSP-Agent-Linux/systemd/ogp_agent.service

16 lines
378 B
Desktop File

# ogp_agent systemd Service Script
[Unit]
Description=GameServer Panel (GSP) Daemon www.worlddomination.dev
After=network.target
[Service]
Type=oneshot
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}/ogp_agent_run.pid"
[Install]
WantedBy=multi-user.target