httpd.service: Support reload

This is useful when ACME has generated a new TLS certificate.
This commit is contained in:
Eelco Dolstra 2016-04-07 17:52:48 +02:00
parent c245d1478e
commit 133e6e1ea6

View file

@ -685,6 +685,7 @@ in
serviceConfig.ExecStart = "@${httpd}/bin/httpd httpd -f ${httpdConf}";
serviceConfig.ExecStop = "${httpd}/bin/httpd -f ${httpdConf} -k graceful-stop";
serviceConfig.ExecReload = "${httpd}/bin/httpd -f ${httpdConf} -k graceful";
serviceConfig.Type = "forking";
serviceConfig.PIDFile = "${mainCfg.stateDir}/httpd.pid";
serviceConfig.Restart = "always";