ports/core (3.5): rc: modify inittab to support LXC and LXD containter shutdown
22 Feb
2019
22 Feb
'19
4:46 p.m.
commit 0b9b68615adb638f710af6c03f9c7e39353c82c5 Author: James Buren <ryuo@ryuo.xyz> Date: Sat Feb 9 16:10:42 2019 -0600 rc: modify inittab to support LXC and LXD containter shutdown This uses the largely unused entries that exists for UPS integration with sysvinit to properly shutdown the containers when SIGPWR is sent to the container's process 1. diff --git a/rc/inittab b/rc/inittab index 067bc479..72e16c0a 100644 --- a/rc/inittab +++ b/rc/inittab @@ -26,5 +26,6 @@ c6:2:respawn:/sbin/agetty 38400 tty6 linux #s1:2:respawn:/sbin/agetty 38400 ttyS0 vt100 ca::ctrlaltdel:/sbin/shutdown -t3 -r now +pf::powerfail:/sbin/shutdown -t3 -h now # End of file
2154
Age (days ago)
2154
Last active (days ago)
0 comments
1 participants
participants (1)
-
crux@crux.nu