summaryrefslogtreecommitdiff
path: root/units
diff options
context:
space:
mode:
Diffstat (limited to 'units')
-rw-r--r--units/fedora/rc-local.service1
-rw-r--r--units/suse/rc-local.service1
2 files changed, 2 insertions, 0 deletions
diff --git a/units/fedora/rc-local.service b/units/fedora/rc-local.service
index 36100dfe54..0bef5c72ab 100644
--- a/units/fedora/rc-local.service
+++ b/units/fedora/rc-local.service
@@ -9,6 +9,7 @@
# systemd-rc-local-generator if /etc/rc.d/rc.local is executable.
[Unit]
Description=/etc/rc.d/rc.local Compatibility
+After=network.target
[Service]
Type=forking
diff --git a/units/suse/rc-local.service b/units/suse/rc-local.service
index 17f4322755..2384a18f94 100644
--- a/units/suse/rc-local.service
+++ b/units/suse/rc-local.service
@@ -9,6 +9,7 @@
# systemd-rc-local-generator if /etc/init.d/boot.local is executable.
[Unit]
Description=/etc/init.d/boot.local Compatibility
+After=network.target
[Service]
Type=oneshot