On Wed, 2007-05-09 at 03:05 -0600, Gregor Mosheh wrote: > > Ian P. Christian wrote: > >> I've noticed that there's a /etc/cron.d/vz, which runs > >> /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. > > Pardon me if this question sounds dense. I'm looking at the vpsreboot > code, since I'd like to understand everything there is to know about > VZ.... > > The vpsreboot cronjob runs every 5 minutes. It looks for a /reboot file in > each VE's directory; if it exists and the VE is stopped, it starts the VE. > Sounds good but... what exactly is the point of this functionality?
For example the root of VE performed `reboot` command inside VE. VE will stop, but somebody from outer world should start it again. vpsreboot is this somebody, who starts VE if it was rebooted. ;) > > Is it used as part of the VZ startup sequence, or for watchdogging, ...? > _______________________________________________ Users mailing list [email protected] https://openvz.org/mailman/listinfo/users
