apache2/apache2.service

15 lines
438 B
SYSTEMD
Raw Normal View History

[Unit]
Description=The Apache Webserver
After=network.target remote-fs.target nss-lookup.target
Before=getty@tty1.service
[Service]
PrivateTmp=true
EnvironmentFile=/etc/sysconfig/apache2
ExecStart=/usr/sbin/start_apache2 -D SYSTEMD -DNO_DETACH -k start
ExecReload=/usr/sbin/start_apache2 -D SYSTEMD -DNO_DETACH -t -k graceful
ExecStop=/usr/sbin/start_apache2 -D SYSTEMD -DNO_DETACH -k graceful-stop
[Install]
WantedBy=multi-user.target