/[sysadmin-cookbook]/recepies/lxc/lxc-watchdog.sh |
Parent Directory | Revision Log
Links to HEAD: | (view) (annotate) |
Sticky Revision: |
use column to display nice tabular output from status
lxc-ls displays random files in /var/lib/lxc/ and duplicates so don't use it
extract correct lxc.rootfs
ensure that we have getty on tty1
better usage, install as init script docs
better output
added boot and disable
timestap watchdog output
give container 5 seconds to start more than one process
create on_boot only if it doesn't exist
added proper LSB init.d headers
real host reboot, status now include rootfs and on_boot
move inotify so watchdog can stop lxc in init state 0
rewrite into init-like script with start/stop/status name
use lxc-ps to find container's init
add powerfail to container's /etc/inittab which halt on kill -SIGPWR
cleanup init scripts which are not needed inside containers
make container name first argument
Start container and stop/start on reboot/halt
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.
ViewVC Help | |
Powered by ViewVC 1.1.26 |