<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">Le ven. 3 août 2018 à 17:40, <<a href="mailto:wkitty42@gmail.com">wkitty42@gmail.com</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
> systemctl restart dnsmasq<br>
<br>
<br>
this is not a SIGHUP... the following is one correct way... it is chosen for <br>
ease and not needing to find the process' PID...<br>
<br>
   pkill -SIGHUP dnsmasq<br>
<br>
<br>
here is another way... slightly more complicated because it does look up the PID...<br>
<br>
   kill -SIGHUP ${pidof dnsmasq}<br>
<br>
<br>
you may need to use sudo if you're doing these manually from the command line... <br>
you can use the signal name or number... the following will show you the list of <br>
signals, their numbers and a brief description...<br>
<br>
   man 7 signal<br>
<br><br></blockquote><div><br></div><div>I know that this is not a signal but a restart of the service (I use signals on a regular basis in my code as well).</div><div>My understanding is that this is a way to reload the configuration (as mentioned by Simon) without stopping the service.</div><div><br></div><div>Do you mean that the right / only way to increase the serial is by sending the signal?</div><div><br></div><div>I do not think so as it would make hosts management very awkward (one would need not to forget to send the signal) and</div><div>another thread in the past mentioned that the serial is calculated in a smart way to always reflect changes.</div><div><br></div><div>Cheers</div><div>Wojtek</div></div></div>