]> git.ipfire.org Git - thirdparty/systemd.git/commit
networkd: use SIGUSR2 to do a restart
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 1 Oct 2019 14:23:19 +0000 (16:23 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 2 Oct 2019 12:01:42 +0000 (14:01 +0200)
commitab76be55819268968c0a987bf187db9568e09dbd
tree20fce0684e3b9016f9a7acad978834d2ea94ded5
parent4ab1670f3de2debb5fd373ab3320925eccfc417d
networkd: use SIGUSR2 to do a restart

The code supports SIGTERM and SIGINT to termiante the process. It would
be possible to reporpose one of those signals for the restart operation,
but I think it's better to use a completely different signal to avoid
misunderstandings.
src/network/networkd-manager.c
src/network/networkd-manager.h
units/systemd-networkd.service.in