Contents of /trunk/apache2/apache2.service
Parent Directory | Revision Log
Revision 2684 -
(show 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 | [Unit] |
2 | Description=The Apache2 HTTP Server |
3 | After=network.target remote-fs.target nss-lookup.target |
4 | |
5 | [Service] |
6 | Type=forking |
7 | ExecStart=/usr/sbin/apachectl start |
8 | ExecReload=/usr/sbin/apachectl graceful |
9 | ExecStop=/usr/sbin/apachectl graceful-stop |
10 | PrivateTmp=true |
11 | LimitNOFILE=infinity |
12 | |
13 | [Install] |
14 | WantedBy=multi-user.target |