summaryrefslogtreecommitdiff
path: root/units
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2020-12-09 00:21:58 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2020-12-09 12:55:51 +0900
commit9e36b885b894f1b2a53fa234a238e736582021c4 (patch)
tree4311f35ff5b79b9b5bd099b0087d7c4703c282d7 /units
parent84f9a68060c7c93a46d9983e775fb06755de66ed (diff)
downloadsystemd-9e36b885b894f1b2a53fa234a238e736582021c4.tar.gz
unit: make systemd-networkd.service support reload command
Diffstat (limited to 'units')
-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