chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
resolved: support for TCP DNS queries
[elogind.git]
/
units
/
systemd-networkd.service.in
diff --git
a/units/systemd-networkd.service.in
b/units/systemd-networkd.service.in
index 850193b53c7012c37d0d4aa8598578e63b1d64fa..f33c65e6ff07e433a3c81cddfc02183c3e630ba6 100644
(file)
--- a/
units/systemd-networkd.service.in
+++ b/
units/systemd-networkd.service.in
@@
-8,15
+8,22
@@
[Unit]
Description=Network Service
Documentation=man:systemd-networkd.service(8)
[Unit]
Description=Network Service
Documentation=man:systemd-networkd.service(8)
+ConditionCapability=CAP_NET_ADMIN
DefaultDependencies=no
DefaultDependencies=no
-After=dbus.socket
-Before=network.target
+After=dbus.service network-pre.target systemd-sysusers.service
+Before=network.target multi-user.target shutdown.target
+Conflicts=shutdown.target
Wants=network.target
Wants=network.target
-ConditionCapability=CAP_NET_ADMIN
[Service]
Type=notify
Restart=always
RestartSec=0
ExecStart=@rootlibexecdir@/systemd-networkd
[Service]
Type=notify
Restart=always
RestartSec=0
ExecStart=@rootlibexecdir@/systemd-networkd
+CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_BIND_SERVICE CAP_NET_BROADCAST CAP_NET_RAW CAP_SETUID CAP_SETGID CAP_SETPCAP CAP_CHOWN CAP_DAC_OVERRIDE CAP_FOWNER
+ProtectSystem=full
+ProtectHome=yes
WatchdogSec=1min
WatchdogSec=1min
+
+[Install]
+WantedBy=multi-user.target