mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-11-26 00:18:24 -05:00
21 lines
573 B
Text
21 lines
573 B
Text
## Copyright (C) 2025 - 2025 ENCRYPTED SUPPORT LLC <adrelanos@whonix.org>
|
|
## See the file COPYING for copying conditions.
|
|
|
|
[Unit]
|
|
Description=Emergency shutdown when boot media is removed
|
|
Documentation=https://github.com/Kicksecure/security-misc
|
|
DefaultDependencies=no
|
|
Before=sysinit.target
|
|
Requires=systemd-udevd.service
|
|
After=systemd-udevd.service
|
|
Requires=local-fs.target
|
|
After=local-fs.target
|
|
ConditionPathExists=!/usr/share/qubes/marker-vm
|
|
|
|
[Service]
|
|
Type=notify
|
|
ExecStart=/usr/libexec/security-misc/emerg-shutdown
|
|
NotifyAccess=main
|
|
|
|
[Install]
|
|
WantedBy=sysinit.target
|