Browse Source

fix: [host] ``dnsmasq``'s DNS waterfall didn't have proper ``logrotate`` script.

Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
dhcp
Valentin Lab 4 years ago
parent
commit
2adc8fdeaa
  1. 4
      precise/host/hooks/install.d/80-dns-waterfall.sh

4
precise/host/hooks/install.d/80-dns-waterfall.sh

@ -69,7 +69,7 @@ cat <<EOF > /etc/logrotate.d/dnsmasq
compress
postrotate
kill -s SIGUSR2 "\$(cat /var/run/dnsmasq/dnsmasq.pid)"
/bin/kill -s SIGUSR2 "\$(cat /var/run/dnsmasq/dnsmasq.pid)"
endscript
}
@ -85,7 +85,7 @@ cat <<EOF > /etc/logrotate.d/lxc-dnsmasq
compress
postrotate
kill -s SIGUSR2 "\$(cat /var/run/lxc/dnsmasq.pid)"
/bin/kill -s SIGUSR2 "\$(cat /var/run/lxc/dnsmasq.pid)"
endscript
}

Loading…
Cancel
Save