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