OpenVZ Forum


Home » Mailing lists » Users » How to specify my own init program ?
Re: How to specify my own init program ? [message #11590 is a reply to message #11585] Tue, 27 March 2007 18:41 Go to previous messageGo to previous message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

Enrico Weigelt wrote:
> Hi folks,
>
>
> I'd like to speciy my own init program for an VPS, so I can run
> my own setup stuff (before the actual init is called) without
> touching /sbin/init.
>
> How can I change the init command per VPS ?
>
Just move /sbin/init to /sbin/init.real, and put your own prog as
/sbin/init :) Later you can restore it back.

Other way is to modify vzctl :)
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: New kernel branches structure
Next Topic: Conf file corruption
Goto Forum:
  


Current Time: Sat Oct 12 01:45:51 GMT 2024

Total time taken to generate the page: 0.12989 seconds