[Users] How to specify my own init program ?
Kir Kolyshkin
kir at openvz.org
Tue Mar 27 14:41:03 EDT 2007
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 :)
More information about the Users
mailing list