summaryrefslogtreecommitdiff
path: root/units
diff options
context:
space:
mode:
authorMichal Schmidt <mschmidt@redhat.com>2011-12-02 11:32:52 +0100
committerMichal Schmidt <mschmidt@redhat.com>2011-12-02 11:32:52 +0100
commit91b684c7300879a8d2006038f7d9185d92c3c3bf (patch)
treecf195e8621b81b81ae971d421a80845d822c8617 /units
parente951701a4d90152447e195e926e0e12c7dcc0051 (diff)
rc-local: order after network.target
As suggested by Bill Nottingham: rc.local is often used for frobbing the network. https://bugzilla.redhat.com/show_bug.cgi?id=754789
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