--- trunk/apache2/apache2.service 2012/10/31 11:34:32 1930 +++ trunk/apache2/apache2.service 2015/08/17 10:48:10 2684 @@ -1,14 +1,14 @@ [Unit] Description=The Apache2 HTTP Server -After=network.target remote-fs.target nss-lockup.target +After=network.target remote-fs.target nss-lookup.target [Service] -Type=notify -EnvironmentFile=/etc/conf.d/apache2 -ExecStart=/usr/sbin/apache2 $OPTIONS -DFOREGROUND -ExecReload=/usr/sbin/apache2 $OPTIONS -k graceful -ExecStop=/usr/sbin/apache2 $OPTIONS -k graceful-stop +Type=forking +ExecStart=/usr/sbin/apachectl start +ExecReload=/usr/sbin/apachectl graceful +ExecStop=/usr/sbin/apachectl graceful-stop PrivateTmp=true +LimitNOFILE=infinity [Install] WantedBy=multi-user.target