AlpineWeb Home
Search: For:   ~ Advanced Search  
  Support Home     Documentation     Knowledgebase     Help Desk     Blog 
Support Home > VPS v1 > Administration > Unix > Tuesday, January 06, 2009

rc


We provide each of our VPS Administrators with the ability to automatically start daemons (server processes or programs initiated at boot time that waits in the background until its service is required) at system startup time. This service insures that important daemons that you rely on are restarted when a server is taken down and rebooted after scheduled maintenance.

To take advantage of this feature, you just add the programs you would like to run at system startup to your ~/etc/rc file. You can either create this file locally on your local computer and upload it to your Virtual Server (in ASCII mode), or you can edit the file on your Virtual Server using your favorite UNIX editor such as pico or vi.

The file format is quite simple. Lines that begin with the "#" character are considered to be comments and are ignored. All other lines are executed with /bin/sh, or in other words, are executed exactly as if you typed the command at a command prompt.

For example, multimedia streaming software RealServer relies on a server side daemon or server in order to operate successfully. If you have installed the RealServer software package on your Virtual Server you will want to add appropriate lines to your Server's ~/etc/rc file to insure that these daemons are restarted at system startup time. The command to include in the ~/etc/rc file for this software package is:
RealServer
~/usr/local/pnserver-VERSION/bin/pnserver ~/usr/local/pnserver-VERSION/server.cfg
Replace VERSION with the version number of your RealServer software.


Technical Support
° Getting Started Guide
  FreeBSD
° VPS v1 Help
° VPS v2/3 Help
° MPS v2/3 Help
  DNS
° Domain Name Service
° Domain Registration
   
° Help Desk
° Knowledgebase
° Support Policies
° Disclaimer

° AlpineWeb Home
° Compare Hosting Plans
° Network Topology

° Rates & Fees
° Order Center


  SEE ALSO
· Using Cron to Schedule Programs to Automatically Run
· About RealServer
· VPS Help


  Home | Site Map | Customer Backroom Copyright  ©  1997-2009  AlpineWeb Design