OpenVZ Forum


Home » General » Support » Trigger scripts?
Re: Trigger scripts? [message #33520 is a reply to message #33512] Mon, 20 October 2008 00:32 Go to previous messageGo to previous message
locutius is currently offline  locutius
Messages: 125
Registered: August 2007
Senior Member
yes you can use crond to identify if the "halt" file is present in the / of the CT then run a command if found

the "halt" file only appears if the CT is stopped and is deleted when the CT starts

beware that the vz reboot crond is 5 mins, it checks for the "halt" file and if found and if onboot=yes then CT is started
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: How it supports networking?
Next Topic: ipTables - SSH
Goto Forum:
  


Current Time: Sun Sep 15 23:19:21 GMT 2024

Total time taken to generate the page: 0.03924 seconds