diff options
author | Lennart Poettering <lennart@poettering.net> | 2012-05-22 16:12:25 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2012-05-22 16:12:25 +0200 |
commit | 49e7f0277444ca10623fe790ff754f7c006f8c64 (patch) | |
tree | ee0873b550ee0d4c1e1b113e1612710506b5d0d9 /units | |
parent | 499fb2152f8518796607dd0406698cb6ce4c7098 (diff) |
rescue: don't pull in sockets
In rescue mode let's not establish all sockets, so that we don't end up
starting a lot of additional services automatically.
Instead of pulling in basic.target we now only pull in sysinit.target
which pulls in local-fs.target and swap.target. That way rescue mode has
all the really basic setup around, but normal services are not started
and not autostarted either.
Diffstat (limited to 'units')
-rw-r--r-- | units/rescue.service.m4.in | 2 | ||||
-rw-r--r-- | units/rescue.target | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/units/rescue.service.m4.in b/units/rescue.service.m4.in index 75b9fde278..5fb82e614d 100644 --- a/units/rescue.service.m4.in +++ b/units/rescue.service.m4.in @@ -9,7 +9,7 @@ Description=Rescue Shell DefaultDependencies=no Conflicts=shutdown.target -After=basic.target plymouth-start.service +After=sysinit.target plymouth-start.service Before=shutdown.target [Service] diff --git a/units/rescue.target b/units/rescue.target index c17a4e12d0..3f59b14339 100644 --- a/units/rescue.target +++ b/units/rescue.target @@ -8,8 +8,8 @@ [Unit] Description=Rescue Mode Documentation=man:systemd.special(7) -Requires=basic.target rescue.service -After=basic.target rescue.service +Requires=sysinit.target rescue.service +After=sysinit.target rescue.service AllowIsolate=yes [Install] |