Commit 604d2a37 authored by Miek Gieben's avatar Miek Gieben

Add reload command to systemd unit file

parent fd6fd68a
...@@ -124,7 +124,7 @@ User=coredns ...@@ -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]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment