[Linux] VServer startup script
Kirill Pekarov
kirill_pekarov at valentina-db.com
Tue Mar 18 05:22:52 CDT 2008
Hi All.
Here is script for run VServer at startup on Linux.
Steps to install:
1. Save attached script to this letter to /etc/init.d folder
2. Open /etc/init.d/vserver by "vi" or "mc" and correct PROG_NAME and
VSERVER_DIR variables for your system
3. chmod 755 /etc/init.d/vserver
4. ln -s /etc/init.d/vserver /etc/rc.d/rc2.d/S21vserver
5. ln -s /etc/init.d/vserver /etc/rc.d/rc4.d/S21vserver
6. ln -s /etc/init.d/vserver /etc/rc.d/rc5.d/S21vserver
Useful commands:
Stop VServer:
/etc/init.d/vserver stop
Start VServer:
/etc/init.d/vserver start
Restarting VServer
/etc/init.d/vserver restart
After reboot, it should started automatically.
I hope it will :)
Please try it, and let me know result and suggestions.
--
Best regards,
Kirill Pekarov
Software Engineer Associate
Paradigma Software, Inc
Valentina - The Ultra-Fast Database
http://www.valentina-db.com
More information about the Valentina
mailing list