mirror of
https://github.com/systemd/systemd
synced 2024-10-06 16:21:34 +00:00
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.
This commit is contained in:
parent
fbe092cc70
commit
54763e1266
1
units/.gitignore
vendored
1
units/.gitignore
vendored
|
@ -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
|
||||
|
|
|
@ -9,11 +9,6 @@
|
|||
|
||||
[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
|
Loading…
Reference in a new issue