summarylogtreecommitdiffstats
path: root/dnssec-triggerd-keygen.service
diff options
context:
space:
mode:
Diffstat (limited to 'dnssec-triggerd-keygen.service')
-rw-r--r--dnssec-triggerd-keygen.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/dnssec-triggerd-keygen.service b/dnssec-triggerd-keygen.service
new file mode 100644
index 00000000000..46e42904cbb
--- /dev/null
+++ b/dnssec-triggerd-keygen.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=dnssec-triggerd Control Key And Certificate Generator
+Before=dnssec-triggerd.service
+ConditionPathExists=!/etc/dnssec-trigger/dnssec_trigger_control.key
+
+[Service]
+Type=oneshot
+ExecStart=/usr/bin/dnssec-trigger-control-setup -d /etc/dnssec-trigger/
+RemainAfterExit=yes
+
+[Install]
+WantedBy=multi-user.target