diff options
author | Luca Boccassi <bluca@debian.org> | 2023-08-18 01:20:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-18 01:20:04 +0200 |
commit | b24d10e35a09c36de2cc1d7e2141e2331df2ae54 (patch) | |
tree | ee718308d5f16d4aaf46d953400ad7b1641dbbb0 /units | |
parent | dissect: Set SYSTEMD_DISSECT_DEVICE to path of loop device (diff) | |
parent | Make systemd-bsod not a public binary (diff) | |
download | systemd-b24d10e35a09c36de2cc1d7e2141e2331df2ae54.tar.xz systemd-b24d10e35a09c36de2cc1d7e2141e2331df2ae54.zip |
Merge pull request #28697 from 1awesomeJ/new_bsod
systemd-bsod: Add "--continuous" option
Diffstat (limited to 'units')
-rw-r--r-- | units/meson.build | 5 | ||||
-rw-r--r-- | units/systemd-bsod.service.in | 21 |
2 files changed, 26 insertions, 0 deletions
diff --git a/units/meson.build b/units/meson.build index 20665e0408..cb1be83599 100644 --- a/units/meson.build +++ b/units/meson.build @@ -61,6 +61,11 @@ units = [ 'symlinks' : ['initrd.target.wants/'], }, { + 'file' : 'systemd-bsod.service.in', + 'conditions' : ['HAVE_QRENCODE','ENABLE_INITRD'], + 'symlinks' : ['initrd.target.wants/'], + }, + { 'file' : 'initrd-cleanup.service', 'conditions' : ['ENABLE_INITRD'], }, diff --git a/units/systemd-bsod.service.in b/units/systemd-bsod.service.in new file mode 100644 index 0000000000..306d4a6623 --- /dev/null +++ b/units/systemd-bsod.service.in @@ -0,0 +1,21 @@ +# 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=Displays emergency message full screen. +Documentation=man:systemd-bsod(8) +ConditionVirtualization=no +DefaultDependencies=no +Conflicts=shutdown.target +Before=shutdown.target +After=systemd-battery-check.service + +[Service] +RemainAfterExit=yes +ExecStart={{LIBEXECDIR}}/systemd-bsod --continuous |