[Users] How to specify my own init program ?

2007-03-27 Thread Enrico Weigelt

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 ?


thx
-- 
-
 Enrico Weigelt==   metux IT service - http://www.metux.de/
-
 Please visit the OpenSource QM Taskforce:
http://wiki.metux.de/public/OpenSource_QM_Taskforce
 Patches / Fixes for a lot dozens of packages in dozens of versions:
http://patches.metux.de/
-
___
Users mailing list
Users@openvz.org
https://openvz.org/mailman/listinfo/users


Re: [Users] How to specify my own init program ?

2007-03-27 Thread Kir Kolyshkin

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 :)
___
Users mailing list
Users@openvz.org
https://openvz.org/mailman/listinfo/users