nginx-debug.service 405 B

123456789101112131415
  1. [Unit]
  2. Description=nginx - high performance web server
  3. Documentation=http://nginx.org/en/docs/
  4. After=network-online.target remote-fs.target nss-lookup.target
  5. Wants=network-online.target
  6. [Service]
  7. Type=forking
  8. PIDFile=/var/run/nginx.pid
  9. ExecStart=/usr/sbin/nginx-debug -c /etc/nginx/nginx.conf
  10. ExecReload=/bin/kill -s HUP $MAINPID
  11. ExecStop=/bin/kill -s TERM $MAINPID
  12. [Install]
  13. WantedBy=multi-user.target