From 7e3160d37441f705381c91dd724ca5557eea322a Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Thu, 1 Aug 2024 15:35:15 +0000 Subject: automatic import of httpd --- httpd-init.service | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 httpd-init.service (limited to 'httpd-init.service') 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 -- cgit v1.2.3