2011-09-12 14:20:52 +02:00
|
|
|
[Unit]
|
2013-01-28 04:33:43 +01:00
|
|
|
Description=The Apache Webserver
|
|
|
|
After=network.target remote-fs.target nss-lookup.target
|
2011-09-12 14:20:52 +02:00
|
|
|
Before=getty@tty1.service
|
|
|
|
|
|
|
|
[Service]
|
2013-01-28 04:33:43 +01:00
|
|
|
PrivateTmp=true
|
2011-09-12 14:20:52 +02:00
|
|
|
EnvironmentFile=/etc/sysconfig/apache2
|
2013-01-28 04:33:43 +01:00
|
|
|
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
|
2011-09-12 14:20:52 +02:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|