You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
263 B

4 years ago
  1. [Unit]
  2. Description=AI Rpc Server
  3. After=network.target
  4. After=syslog.target
  5. [Service]
  6. Type=simple
  7. LimitNOFILE=65535
  8. ExecStart=/usr/bin/php {your server path}
  9. ExecReload=/bin/kill -USR1 $MAINPID
  10. Restart=always
  11. [Install]
  12. WantedBy=multi-user.target graphical.target