From 54763e12662d465a038c424ea7baf565cca7be76 Mon Sep 17 00:00:00 2001 From: Tom Gundersen Date: Sat, 11 Jun 2011 15:55:11 +0200 Subject: remote-fs.target: do not order after network.target remote-fs.target is ordered after the {auto,}mount units. In case of automount we do not want to wait for the network to come up before proceeding. In case of a regular mount unit, the unit will be ordered after network.target so the behavior is unchanged. This speeds up boot quite a bit for me when having some services needing NetworkManager-wait-online.service, and having my home partition on nfs under an automountpoint. --- units/.gitignore | 1 - units/remote-fs.target | 14 ++++++++++++++ units/remote-fs.target.m4 | 19 ------------------- 3 files changed, 14 insertions(+), 20 deletions(-) create mode 100644 units/remote-fs.target delete mode 100644 units/remote-fs.target.m4 (limited to 'units') diff --git a/units/.gitignore b/units/.gitignore index fe23b12266..f969466bd7 100644 --- a/units/.gitignore +++ b/units/.gitignore @@ -31,7 +31,6 @@ systemd-random-seed-save.service systemd-initctl.service systemd-logger.service getty@.service -remote-fs.target systemd-update-utmp-runlevel.service systemd-update-utmp-shutdown.service test-env-replace diff --git a/units/remote-fs.target b/units/remote-fs.target new file mode 100644 index 0000000000..a48f87e5dd --- /dev/null +++ b/units/remote-fs.target @@ -0,0 +1,14 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. + +# See systemd.special(7) for details + +[Unit] +Description=Remote File Systems + +[Install] +WantedBy=multi-user.target diff --git a/units/remote-fs.target.m4 b/units/remote-fs.target.m4 deleted file mode 100644 index 53054b6ec4..0000000000 --- a/units/remote-fs.target.m4 +++ /dev/null @@ -1,19 +0,0 @@ -# This file is part of systemd. -# -# systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. - -# See systemd.special(7) for details - -[Unit] -Description=Remote File Systems -m4_dnl -m4_ifdef(`FOR_SYSTEM', -m4_dnl When running in system mode we need the network up -After=network.target -)m4_dnl - -[Install] -WantedBy=multi-user.target -- cgit v1.2.3-54-g00ecf