1 |
[Unit] |
[Unit] |
2 |
Description=The Apache2 HTTP Server |
Description=The Apache2 HTTP Server |
3 |
After=network.target remote-fs.target nss-lockup.target |
After=network.target remote-fs.target nss-lookup.target |
4 |
|
|
5 |
[Service] |
[Service] |
6 |
Type=notify |
Type=forking |
7 |
EnvironmentFile=/etc/conf.d/apache2 |
ExecStart=/usr/sbin/apachectl start |
8 |
ExecStart=/usr/sbin/apache2 $OPTIONS -DFOREGROUND |
ExecReload=/usr/sbin/apachectl graceful |
9 |
ExecReload=/usr/sbin/apache2 $OPTIONS -k graceful |
ExecStop=/usr/sbin/apachectl graceful-stop |
|
ExecStop=/usr/sbin/apache2 $OPTIONS -k graceful-stop |
|
10 |
PrivateTmp=true |
PrivateTmp=true |
11 |
|
LimitNOFILE=infinity |
12 |
|
|
13 |
[Install] |
[Install] |
14 |
WantedBy=multi-user.target |
WantedBy=multi-user.target |