From: Michal Schmidt Date: Fri, 2 Dec 2011 10:32:52 +0000 (+0100) Subject: rc-local: order after network.target X-Git-Tag: v38~179 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=91b684c7300879a8d2006038f7d9185d92c3c3bf;p=systemd 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 --- diff --git a/units/fedora/rc-local.service b/units/fedora/rc-local.service index 36100dfe..0bef5c72 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 17f43227..2384a18f 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