diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2019-10-01 16:23:19 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2019-10-02 14:01:42 +0200 |
commit | ab76be55819268968c0a987bf187db9568e09dbd (patch) | |
tree | 20fce0684e3b9016f9a7acad978834d2ea94ded5 /units | |
parent | 4ab1670f3de2debb5fd373ab3320925eccfc417d (diff) | |
download | systemd-ab76be55819268968c0a987bf187db9568e09dbd.tar.gz systemd-ab76be55819268968c0a987bf187db9568e09dbd.tar.bz2 systemd-ab76be55819268968c0a987bf187db9568e09dbd.zip |
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.
Diffstat (limited to 'units')
-rw-r--r-- | units/systemd-networkd.service.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/units/systemd-networkd.service.in b/units/systemd-networkd.service.in index 9ea3bb914e..5c6275e5b3 100644 --- a/units/systemd-networkd.service.in +++ b/units/systemd-networkd.service.in @@ -42,6 +42,7 @@ SystemCallArchitectures=native SystemCallErrorNumber=EPERM SystemCallFilter=@system-service Type=notify +RestartKillSignal=SIGUSR2 User=systemd-network WatchdogSec=3min |