mirror of
https://github.com/systemd/systemd.git
synced 2024-11-01 17:51:22 +03:00
49e7f02774
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.
17 lines
486 B
SYSTEMD
17 lines
486 B
SYSTEMD
# This file is part of systemd.
|
|
#
|
|
# systemd is free software; you can redistribute it and/or modify it
|
|
# under the terms of the GNU Lesser General Public License as published by
|
|
# the Free Software Foundation; either version 2.1 of the License, or
|
|
# (at your option) any later version.
|
|
|
|
[Unit]
|
|
Description=Rescue Mode
|
|
Documentation=man:systemd.special(7)
|
|
Requires=sysinit.target rescue.service
|
|
After=sysinit.target rescue.service
|
|
AllowIsolate=yes
|
|
|
|
[Install]
|
|
Alias=kbrequest.target
|