VEs and rebooting [message #12734] |
Tue, 08 May 2007 11:08 ![Go to next message Go to previous message](/theme/ovz3/images/down.png) |
pookey
Messages: 12 Registered: March 2007
|
Junior Member |
|
|
I'm trying to put together how the VEs are meant to reboot.
I've noticed that there's a /etc/cron.d/vz, which runs
/usr/share/vzctl/scripts/vpsnetclean
and
/usr/share/vzctl/scripts/vpsreboot
My understanding is that vpsreboot should scan for
/vz/private/nnn/reboot, and if it finds that file, it will start the VPS
and delete it the file.
I've looked at the init.d script for rebooting within all of my VEs,
there's a couple of debian ones (3.1 and 4) and a gentoo VE, however
none of these init.d script (be it reboot, or reboot.sh) create the
/reboot file.
These templates were downloaded from the official templates directory.
Is the reboot init script resonsible for creating the file, and if it
is, why doesn't it do it on any of my VPSs? And what is in place to
'fix' the init script should the distro change it during an update?
Thanks,
--
Ian P. Christian ~ http://pookey.co.uk
|
|
|