HALF ECHO LEARN / REFERENCE COLLECTION

v262.2

units/initrd-parse-etc.service.in

1,114 bytesGit mode 100644Download original fileLGPL-2.1-or-later

Git blob: 651a8db16e1c41c9831a7d12074e535c0b17c946

Lines 1–34 of 34

#  SPDX-License-Identifier: LGPL-2.1-or-later
#
#  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=Mountpoints Configured in the Real Root
Documentation=man:bootup(7)
AssertPathExists=/etc/initrd-release
 
DefaultDependencies=no
Requires=initrd-root-fs.target
After=initrd-root-fs.target
 
Conflicts=emergency.target
 
OnFailure=emergency.target
OnFailureJobMode=replace-irreversibly
 
# We want to enqueue initrd-cleanup.service/start after we finished the part
# below. It can't be part of the initial transaction, because non-oneshot units
# use Conflicts=initrd-cleanup.service to be terminated before we switch root.
# Effectively, initrd-parse-etc.service acts as a synchronization point after
# which cleanup of the initrd processes starts.
OnSuccess=initrd-cleanup.service
 
[Service]
Type=oneshot
ExecStart={{LIBEXECDIR}}/systemd-sysroot-fstab-check