mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-12-17 02:53:51 -05:00
emerg-shutdown: Add shutdown timeout for preventing stuck shutdowns, briefly document feature set and usage
This commit is contained in:
parent
e42078e90d
commit
1a60da71ed
8 changed files with 257 additions and 26 deletions
|
|
@ -39,9 +39,10 @@ if [ ! -f '/run/emerg-shutdown' ]; then
|
|||
printf "%s\n" 'Could not compile force-shutdown executable!'
|
||||
exit 1;
|
||||
}
|
||||
|
||||
fi
|
||||
|
||||
systemd-notify --ready
|
||||
|
||||
## memlockd daemonizes itself, so no need to background it.
|
||||
memlockd -c /usr/share/security-misc/security-misc-memlockd.cfg || true
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue