summaryrefslogtreecommitdiff
path: root/httpd-init.service
blob: 704c314bb3cb65effcd784d6848dbaab1d1008f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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