Annotation of /trunk/apache2/apache2.service
Parent Directory | Revision Log
Revision 2684 -
(hide annotations)
(download)
Mon Aug 17 10:48:10 2015 UTC (9 years, 1 month ago) by niro
File size: 317 byte(s)
Mon Aug 17 10:48:10 2015 UTC (9 years, 1 month ago) by niro
File size: 317 byte(s)
-use apachectl to control the service
1 | niro | 1930 | [Unit] |
2 | Description=The Apache2 HTTP Server | ||
3 | niro | 2684 | After=network.target remote-fs.target nss-lookup.target |
4 | niro | 1930 | |
5 | [Service] | ||
6 | niro | 2684 | Type=forking |
7 | ExecStart=/usr/sbin/apachectl start | ||
8 | ExecReload=/usr/sbin/apachectl graceful | ||
9 | ExecStop=/usr/sbin/apachectl graceful-stop | ||
10 | niro | 1930 | PrivateTmp=true |
11 | niro | 2684 | LimitNOFILE=infinity |
12 | niro | 1930 | |
13 | [Install] | ||
14 | WantedBy=multi-user.target |