summaryrefslogtreecommitdiffstats
path: root/units/systemd-networkd.service.in
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2020-12-08 16:21:58 +0100
committerYu Watanabe <watanabe.yu+github@gmail.com>2020-12-09 04:55:51 +0100
commit9e36b885b894f1b2a53fa234a238e736582021c4 (patch)
tree4311f35ff5b79b9b5bd099b0087d7c4703c282d7 /units/systemd-networkd.service.in
parentmount-util: fix typo (diff)
downloadsystemd-9e36b885b894f1b2a53fa234a238e736582021c4.tar.xz
systemd-9e36b885b894f1b2a53fa234a238e736582021c4.zip
unit: make systemd-networkd.service support reload command
Diffstat (limited to 'units/systemd-networkd.service.in')
-rw-r--r--units/systemd-networkd.service.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/units/systemd-networkd.service.in b/units/systemd-networkd.service.in
index 9834b06a43..d5b0a9b96e 100644
--- a/units/systemd-networkd.service.in
+++ b/units/systemd-networkd.service.in
@@ -24,6 +24,7 @@ BusName=org.freedesktop.network1
CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_BIND_SERVICE CAP_NET_BROADCAST CAP_NET_RAW
DeviceAllow=char-* rw
ExecStart=!!@rootlibexecdir@/systemd-networkd
+ExecReload=networkctl reload
LockPersonality=yes
MemoryDenyWriteExecute=yes
NoNewPrivileges=yes