3 ms·
so it's like `kill -HUP 1` then?
by retrocryptid 3y ago
so it's like `kill -HUP 1` then?
- rbanffy 3y agoWouldn’t HUP require PID 1 to be able to process signals?
- retrocryptid 3y agoI think init still can receive signals. The only kernel ju-ju linux adds is it only delivers the signal if init has installed a handler (SIG_DFL behavior isn't triggered.)
- toast0 3y agoI don't know what systemd does with HUP, but traditional inits respond to HUP by reparsing their configs, not rebooting.
- retrocryptid 3y agoIn the old days, init would respond to a HUP by restarting... sort of a "warm boot." Pretty sure SunOS 4.1 did this, but ultrix certainly did. SVR 4 and Solaris changed the behaviour to just reading /etc/inittab.