]> git.ipfire.org Git - thirdparty/systemd.git/blob - units/rescue.service.in
units: drop explicit NotifyAccess setting from journald's unit file (#5749)
[thirdparty/systemd.git] / units / rescue.service.in
1 # This file is part of systemd.
2 #
3 # systemd is free software; you can redistribute it and/or modify it
4 # under the terms of the GNU Lesser General Public License as published by
5 # the Free Software Foundation; either version 2.1 of the License, or
6 # (at your option) any later version.
7
8 [Unit]
9 Description=Rescue Shell
10 Documentation=man:sulogin(8)
11 DefaultDependencies=no
12 Conflicts=shutdown.target
13 After=sysinit.target plymouth-start.service
14 Before=shutdown.target
15
16 [Service]
17 Environment=HOME=/root
18 WorkingDirectory=-/root
19 ExecStart=-@rootlibexecdir@/systemd-sulogin-shell rescue
20 Type=idle
21 StandardInput=tty-force
22 StandardOutput=inherit
23 StandardError=inherit
24 KillMode=process
25 IgnoreSIGPIPE=no
26 SendSIGHUP=yes