apache.service 539 B

12345678910111213141516
  1. [Unit]
  2. Description=Apache Web Server
  3. After=network.target remote-fs.target nss-lookup.target
  4. [Service]
  5. Type=notify
  6. EnvironmentFile=/etc/conf.d/apache2
  7. PIDFile=/run/apache2.pid
  8. ExecStart=/usr/sbin/apache2 -d /usr/lib/apache2/ -f /etc/apache2/httpd.conf $APACHE2_OPTS -k start
  9. ExecReload=/usr/sbin/apache2 -d /usr/lib/apache2/ -f /etc/apache2/httpd.conf $APACHE2_OPTS -k graceful
  10. ExecStop=/usr/sbin/apache2 -d /usr/lib/apache2/ -f /etc/apache2/httpd.conf $APACHE2_OPTS -k graceful-stop
  11. PrivateTmp=true
  12. [Install]
  13. WantedBy=multi-user.target