Add reload command to systemd unit file
This commit is contained in:
parent
fd6fd68a22
commit
604d2a3730
1 changed files with 1 additions and 1 deletions
|
@ -124,7 +124,7 @@ User=coredns
|
|||
WorkingDirectory=/home/coredns
|
||||
ExecStartPre=/sbin/setcap cap_net_bind_service=+ep /opt/bin/coredns
|
||||
ExecStart=/opt/bin/coredns -pidfile /home/coredns/coredns.pid -conf=/etc/coredns
|
||||
/Corefile
|
||||
ExecReload=/bin/kill -SIGUSR1 $MAINPID
|
||||
Restart=on-failure
|
||||
|
||||
[Install]
|
||||
|
|
Loading…
Add table
Reference in a new issue