summarylogtreecommitdiffstats
path: root/dnssec-triggerd-keygen.service
diff options
context:
space:
mode:
authorMantas Mikul─Śnas2015-08-08 17:59:16 +0300
committerMantas Mikul─Śnas2015-08-08 17:59:16 +0300
commitcba83ecd65f94041064447e6f6a66ce07d230585 (patch)
tree2a6e1815d9593cce3e7c554c84e32880d8539d1e /dnssec-triggerd-keygen.service
downloadaur-cba83ecd65f94041064447e6f6a66ce07d230585.tar.gz
initial commit
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