summaryrefslogtreecommitdiff
path: root/pcr/postsrsd/postsrsd-genkey.service
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/postsrsd/postsrsd-genkey.service')
-rw-r--r--pcr/postsrsd/postsrsd-genkey.service2
1 files changed, 1 insertions, 1 deletions
diff --git a/pcr/postsrsd/postsrsd-genkey.service b/pcr/postsrsd/postsrsd-genkey.service
index ca29b3cd9..e6fb39fae 100644
--- a/pcr/postsrsd/postsrsd-genkey.service
+++ b/pcr/postsrsd/postsrsd-genkey.service
@@ -1,6 +1,6 @@
[Unit]
Description=PostSRSd Key Generation
-ConditionPathExists=!/etc/postsrsd.conf
+ConditionPathExists=!/etc/postsrsd.secret
[Service]
ExecStart=/bin/sh -c 'dd if=/dev/urandom bs=18 count=1 status=none | base64 > /etc/postsrsd.secret'