2015-07-13 10:18:58 +02:00
|
|
|
[Unit]
|
|
|
|
Description=The Apache Webserver %I
|
|
|
|
After=network.target nss-lookup.target time-sync.target
|
|
|
|
Before=getty@tty1.service plymouth-quit.service xdm.service
|
2015-11-11 15:08:56 +01:00
|
|
|
PartOf=apache2.target
|
2015-07-13 10:18:58 +02:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=notify
|
|
|
|
PrivateTmp=true
|
|
|
|
Environment="HTTPD_INSTANCE=%i"
|
|
|
|
ExecStart=/usr/sbin/start_apache2 -DSYSTEMD -DFOREGROUND -k start
|
|
|
|
ExecReload=/usr/sbin/start_apache2 -DSYSTEMD -DFOREGROUND -k graceful
|
|
|
|
ExecStop=/usr/sbin/start_apache2 -DSYSTEMD -DFOREGROUND -k graceful-stop
|
|
|
|
KillMode=mixed
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|
|
|
|
Alias=httpd@.service apache@.service
|
|
|
|
|