[systemd-devel] SIGHUP to systemd

Zbigniew Jędrzejewski-Szmek zbyszek at in.waw.pl
Sun May 21 14:15:45 UTC 2017


On Sun, May 21, 2017 at 07:16:19PM +0530, prashantkumar dhotre wrote:
> Hi
> What happens when SIGHUP is sent by some service to systemd (PID 1 ) ?
> I see below lines in journalctl logs
> 
>  systemd[1]: Received SIGHUP from PID 27128 (myservice).
>  systemd[1]: Reloading.
>  systemd[1]: Configuration file /lib/systemd/system/xyz.service is
> marked executable. Please remove executable permission bits.
> Proceeding  anyway.
> 
> Does SIGHUP ends up killing any process ?
> Where do I see code for handling SIGHUP in systemd src (file/function) ?

It's described in the man page:
https://www.freedesktop.org/software/systemd/man/systemd.html#SIGHUP.

Zbyszek


More information about the systemd-devel mailing list