summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.am3
-rw-r--r--units/systemd-networkd.service.in3
2 files changed, 3 insertions, 3 deletions
diff --git a/Makefile.am b/Makefile.am
index c5724dcc72..8099acd58e 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -3955,9 +3955,6 @@ systemd_networkd_LDADD = \
nodist_systemunit_DATA += \
units/systemd-networkd.service
-MULTI_USER_TARGET_WANTS += \
- systemd-networkd.service
-
test_network_SOURCES = \
src/network/test-network.c \
src/network/networkd.h \
diff --git a/units/systemd-networkd.service.in b/units/systemd-networkd.service.in
index 835c07ddcd..ca40691f5e 100644
--- a/units/systemd-networkd.service.in
+++ b/units/systemd-networkd.service.in
@@ -20,3 +20,6 @@ Restart=always
RestartSec=0
ExecStart=@rootlibexecdir@/systemd-networkd
WatchdogSec=1min
+
+[Install]
+WantedBy=multi-user.target