httpd.service 437 B

123456789101112131415161718
  1. [Unit]
  2. Description=The Apache HTTP Server
  3. After=network.target
  4. [Service]
  5. Type=forking
  6. PIDFile=/var/run/httpd.pid
  7. ExecStartPre=/usr/local/apache/bin/apachectl -t
  8. ExecStart=/usr/local/apache/bin/apachectl -k start
  9. ExecReload=/usr/local/apache/bin/apachectl -k graceful
  10. ExecStop=/usr/local/apache/bin/apachectl -k graceful-stop
  11. PrivateTmp=true
  12. LimitNOFILE=1000000
  13. LimitNPROC=1000000
  14. LimitCORE=1000000
  15. [Install]
  16. WantedBy=multi-user.target