Add reload command to systemd unit file

This commit is contained in:
Miek Gieben 2016-08-05 16:11:08 +00:00
parent fd6fd68a22
commit 604d2a3730

View file

@ -124,7 +124,7 @@ User=coredns
WorkingDirectory=/home/coredns WorkingDirectory=/home/coredns
ExecStartPre=/sbin/setcap cap_net_bind_service=+ep /opt/bin/coredns ExecStartPre=/sbin/setcap cap_net_bind_service=+ep /opt/bin/coredns
ExecStart=/opt/bin/coredns -pidfile /home/coredns/coredns.pid -conf=/etc/coredns ExecStart=/opt/bin/coredns -pidfile /home/coredns/coredns.pid -conf=/etc/coredns
/Corefile ExecReload=/bin/kill -SIGUSR1 $MAINPID
Restart=on-failure Restart=on-failure
[Install] [Install]