2017-09-20 18:18:24 +00:00
|
|
|
[Unit]
|
|
|
|
Description=One-time configuration for httpd.service
|
2017-09-21 15:41:20 +00:00
|
|
|
Documentation=man:httpd-init.service(8)
|
2017-09-20 18:18:24 +00:00
|
|
|
|
|
|
|
ConditionPathExists=|!/etc/pki/tls/certs/localhost.crt
|
|
|
|
ConditionPathExists=|!/etc/pki/tls/certs/localhost-ca.crt
|
|
|
|
ConditionPathExists=|!/etc/pki/tls/private/localhost.key
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=oneshot
|
|
|
|
RemainAfterExit=no
|
|
|
|
|
|
|
|
ExecStart=/usr/libexec/httpd-ssl-gencerts
|