2017-11-19 00:35:03 +08:00
|
|
|
# SPDX-License-Identifier: LGPL-2.1+
|
|
|
|
#
|
2013-02-25 00:40:36 +08:00
|
|
|
# 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=Reload Configuration from the Real Root
|
|
|
|
DefaultDependencies=no
|
2013-03-14 20:12:10 +08:00
|
|
|
Requires=initrd-root-fs.target
|
|
|
|
After=initrd-root-fs.target
|
2013-02-25 00:40:36 +08:00
|
|
|
OnFailure=emergency.target
|
2013-11-26 08:39:53 +08:00
|
|
|
OnFailureJobMode=replace-irreversibly
|
2020-07-29 22:25:59 +08:00
|
|
|
AssertPathExists=/etc/initrd-release
|
2013-02-25 00:40:36 +08:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=oneshot
|
2019-12-18 16:14:57 +08:00
|
|
|
ExecStartPre=-systemctl daemon-reload
|
2013-03-14 20:12:10 +08:00
|
|
|
# we have to retrigger initrd-fs.target after daemon-reload
|
2019-12-18 16:14:57 +08:00
|
|
|
ExecStart=-systemctl --no-block start initrd-fs.target
|
|
|
|
ExecStart=systemctl --no-block start initrd-cleanup.service
|