Vps reboot from ssh
Which is the command line script in ssh for soft and forced reboot of the virtuozzo vps?
seems not to function
The /etc/init.d/sshd restart command is intended to restart your ssh daemon (the sshd process is the only process which will be affected by the restart).
Use the shutdown command to reboot your server - popular options are as follows:
- shutdown -r now - Reboot ("safe" - runs the init scripts associated with the shutdown process)
- shutdown -nr now - Reboot ("forced" - skips the init scripts - use of this command option is not recommended, as it may affect database integrity and cause other errors)
- shutdown -h now - Halt the VPS (equivalent to a "safe" shut down)