Results 1 to 2 of 2

Thread: Vps reboot from ssh

  1. #1
    Junior Member Newbie
    Join Date
    Mar 2008
    Posts
    4

    Default Vps reboot from ssh

    Which is the command line script in ssh for soft and forced reboot of the virtuozzo vps?

    /etc/init.d/sshd restart

    seems not to function

  2. #2
    Senior Member Power Poster
    Join Date
    Dec 2007
    Posts
    359

    Default

    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)

Bookmarks

Posting Permissions

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