2011-09-12 14:20:52 +02:00
|
|
|
[Unit]
|
2013-01-28 04:33:43 +01:00
|
|
|
Description=The Apache Webserver
|
2013-06-18 07:57:29 +02:00
|
|
|
Wants=network.target nss-lookup.target
|
|
|
|
After=network.target nss-lookup.target
|
2011-09-12 14:20:52 +02:00
|
|
|
Before=getty@tty1.service
|
|
|
|
|
|
|
|
[Service]
|
2013-06-18 07:57:29 +02:00
|
|
|
Type=notify
|
2013-01-28 04:33:43 +01:00
|
|
|
PrivateTmp=true
|
2011-09-12 14:20:52 +02:00
|
|
|
EnvironmentFile=/etc/sysconfig/apache2
|
2013-09-03 17:41:55 +02:00
|
|
|
ExecStart=/usr/sbin/start_apache2 -D SYSTEMD -DFOREGROUND -k start
|
|
|
|
ExecReload=/usr/sbin/start_apache2 -D SYSTEMD -DFOREGROUND -t -k graceful
|
|
|
|
ExecStop=/usr/sbin/start_apache2 -D SYSTEMD -DFOREGROUND -k graceful-stop
|
2011-09-12 14:20:52 +02:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|
2014-07-21 12:12:28 +02:00
|
|
|
Alias=httpd.service
|