httpd.service: Support reload
This is useful when ACME has generated a new TLS certificate.
This commit is contained in:
parent
c245d1478e
commit
133e6e1ea6
|
@ -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";
|
||||
|
|
Loading…
Reference in New Issue