f6021d
[Unit]
f6021d
Description=OpenDNSSEC Enforcer daemon
f6021d
After=syslog.target network.target
f6021d
f6021d
[Service]
f6021d
Type=forking
f6021d
User=ods
f6021d
Group=ods
f6021d
PIDFile=/run/opendnssec/enforcerd.pid
f6021d
EnvironmentFile=-/etc/sysconfig/ods
f6021d
ExecStart=/usr/sbin/ods-enforcerd $ODS_ENFORCERD_OPT
f6021d
ExecStartPost=/bin/bash -c 'while [ ! -S /run/opendnssec/enforcer.sock ]; do sleep 1; echo "Waiting for socket"; done'
f6021d
TimeoutStartSec=20
f6021d
f6021d
[Install]
f6021d
WantedBy=multi-user.target