2015-07-13 10:18:58 +02:00
|
|
|
[Unit]
|
|
|
|
Description=The Apache Webserver %I
|
2016-05-09 16:11:30 +02:00
|
|
|
After=network.target nss-lookup.target time-sync.target remote-fs.target
|
2015-07-13 10:18:58 +02:00
|
|
|
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
|
2020-11-26 14:18:20 +01:00
|
|
|
Environment="START_APACHE_INSTANCE=%i"
|
2015-07-13 10:18:58 +02:00
|
|
|
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
|
2015-12-08 13:53:06 +01:00
|
|
|
TasksMax=infinity
|
2016-09-14 18:43:34 +02:00
|
|
|
NotifyAccess=all
|
2015-07-13 10:18:58 +02:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|
|
|
|
|