mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-08-06 13:14:39 -04:00
Fix emerg-shutdown and ensure-shutdown libexec scripts, start emerg-shutdown and ensure-shutdown earlier
This commit is contained in:
parent
d1bca0204f
commit
63f2909341
9 changed files with 83 additions and 15 deletions
|
@ -4,6 +4,12 @@
|
|||
[Unit]
|
||||
Description=Emergency shutdown when boot media is removed
|
||||
Documentation=https://github.com/Kicksecure/security-misc
|
||||
DefaultDependencies=no
|
||||
Before=sysinit.target
|
||||
Requires=udev.service
|
||||
After=udev.service
|
||||
Requires=local-fs.service
|
||||
After=local-fs.service
|
||||
|
||||
[Service]
|
||||
Type=notify
|
||||
|
@ -11,4 +17,4 @@ ExecStart=/usr/libexec/security-misc/emerg-shutdown
|
|||
NotifyAccess=main
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
WantedBy=sysinit.target
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue