ogp_agent.service 421 B

12345678910111213141516
  1. # ogp_agent systemd Service Script
  2. # By Open Game Panel
  3. # OGP <[email protected]>
  4. [Unit]
  5. Description=Open Game Panel (OGP) Daemon www.opengamepanel.org
  6. After=network.target
  7. [Service]
  8. Type=oneshot
  9. ExecStart=/bin/sh -c "{OGP_AGENT_PATH}/ogp_agent_init start"
  10. ExecStop=/bin/sh -c "{OGP_AGENT_PATH}/ogp_agent_init stop"
  11. RemainAfterExit=yes
  12. PIDFile="{OGP_AGENT_PATH}/ogp_agent_run.pid"
  13. [Install]
  14. WantedBy=multi-user.target