Results 1 to 3 of 3
  1. #1
    Junior Member
    Join Date
    Aug 2005
    Los Angeles

    Question restart VPS from shell?

    is there a way to restart your VPS (virtual private server) from the shell?

    Note I'm not talking about restarting the Apache server but the whole VPS

  2. #2
    Senior Member
    Join Date
    May 2005


    the quick answer is no. the shell command "restart" will shut down the apps within your vps (apache, mysql, etc.) and restart them but it is not the same as restart from the manager.

  3. #3



    Allyn is correct. The 'restart' command will restart all applications that have a startup file in your /etc/rc.d/init.d directory, but it does not fully restart the VPS. However, this type of restart is usually sufficient in most circumstances.

    If you have a custom application that you would like to have included as part of the 'restart' command, you can do so by putting the startup script (or setting up a link to it) in the /etc/rc.d/init.d directory.

    If you do need a full restart, the option within Site Manager is the best way to go.

    Mark Cox
    Data Center Administrator

    When you expect more from your Web host

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts