Helpful Information
 
 
Category: Dedicated Servers
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

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.

bpatters7,

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.










privacy (GDPR)