malmond / rpms / unbound

Forked from rpms/unbound 3 years ago
Clone

Blame SOURCES/unbound-keygen.service

8ba890
[Unit]
8ba890
Description=Unbound Control Key And Certificate Generator
8ba890
After=syslog.target 
8ba890
Before=unbound.service
8ba890
ConditionPathExists=!/etc/unbound/unbound_control.key
8ba890
8ba890
[Service]
8ba890
Type=oneshot
8ba890
Group=unbound
8ba890
ExecStart=/usr/sbin/unbound-control-setup -d /etc/unbound/
8ba890
ExecStart=/sbin/restorecon /etc/unbound/*
8ba890
RemainAfterExit=yes
8ba890
8ba890
[Install]
8ba890
WantedBy=multi-user.target