/lib/systemd/system/friendly-recovery.service is in friendly-recovery 0.2.31.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | [Unit]
Description=Recovery mode menu
DefaultDependencies=no
ConditionKernelCommandLine=recovery
Conflicts=shutdown.target
Before=systemd-fsck-root.service local-fs-pre.target
Wants=systemd-udevd.service systemd-udev-trigger.service
After=systemd-udevd.service
[Service]
Type=oneshot
Environment=HOME=/root
WorkingDirectory=/root
ExecStartPre=-/bin/udevadm settle
ExecStartPre=-/bin/dmesg --console-off
ExecStartPre=-/bin/plymouth quit
# let the console output settle down
ExecStartPre=-/bin/sh -e 'while systemctl list-jobs | grep -v friendly-recovery | grep -q running; do sleep 0.2; done'
ExecStart=-/lib/recovery-mode/recovery-menu
StandardInput=tty-force
StandardOutput=inherit
StandardError=inherit
KillMode=process
IgnoreSIGPIPE=no
SendSIGHUP=yes
[Install]
WantedBy=sysinit.target
|