diff options
author | CoprDistGit <infra@openeuler.org> | 2024-08-01 15:35:15 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-08-01 15:35:15 +0000 |
commit | 7e3160d37441f705381c91dd724ca5557eea322a (patch) | |
tree | 4d0a57939694fecbd2850cf3f43e9aaa1ea60017 /httpd-init.service | |
parent | 69b3fe0871448d1afbdda2550a37cee9cca8cfd1 (diff) |
automatic import of httpdopeneuler24.03_LTS
Diffstat (limited to 'httpd-init.service')
-rw-r--r-- | httpd-init.service | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/httpd-init.service b/httpd-init.service new file mode 100644 index 0000000..704c314 --- /dev/null +++ b/httpd-init.service @@ -0,0 +1,13 @@ +[Unit] +Description=One-time temporary TLS key generation for httpd.service +Documentation=man:httpd-init.service(8) + +ConditionPathExists=|!/etc/pki/tls/certs/localhost.crt +ConditionPathExists=|!/etc/pki/tls/private/localhost.key + +[Service] +Type=oneshot +RemainAfterExit=no +PrivateTmp=true + +ExecStart=/usr/libexec/httpd-ssl-gencerts |