[Unit] Description=The Apache2 HTTP Server After=syslog.target network.target remote-fs.target nss-lookup.target [Service] Type=forking TimeoutStartSec=10s PIDFile=%apache2_pidfile EnvironmentFile=%apache2_envconf Environment=LANG=C ExecStartPre=%apache2_sslcertsh generate %apache2_sslcertname ExecStart=%apache2_apachectl start ExecReload=%apache2_apachectl restart ExecStop=%apache2_apachectl wait-stop PrivateTmp=true [Install] WantedBy=multi-user.target