summaryrefslogtreecommitdiff
path: root/pcr/opendnssec/ods-enforcer.service
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/opendnssec/ods-enforcer.service')
-rw-r--r--pcr/opendnssec/ods-enforcer.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/pcr/opendnssec/ods-enforcer.service b/pcr/opendnssec/ods-enforcer.service
new file mode 100644
index 000000000..f0d0050d0
--- /dev/null
+++ b/pcr/opendnssec/ods-enforcer.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=OpenDNSSEC Enforcer
+After=syslog.target network.target
+
+[Service]
+Type=forking
+PIDFile=/run/opendnssec/enforcerd.pid
+ExecStart=/usr/bin/ods-control enforcer start
+ExecStop=/usr/bin/ods-control enforcer stop
+
+[Install]
+WantedBy=multi-user.target
+