Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Check if server needs a restart via SSH?

Discussion in 'General Discussion' started by Arkaic, May 17, 2018.

  1. Arkaic

    Arkaic Active Member

    Joined:
    Jun 23, 2015
    Messages:
    28
    Likes Received:
    4
    Trophy Points:
    3
    Location:
    United Kingdom
    cPanel Access Level:
    Root Administrator
    Hey there,

    Is it possible to check if a cPanel server requires a restart for updates (i.e. "You must reboot the server to apply software updates.") in SSH?

    i.e. /usr/bin/needs-restarting (--reboothint)
    ?
    Is this all cPanel checks before displaying the message?
    [​IMG]

    I'm looking to automate a way to check numerous servers to see if they need a restart.

    Thanks in advance.
     
    #1 Arkaic, May 17, 2018
    Last edited: May 17, 2018
    rarod likes this.
  2. cPanelLauren

    cPanelLauren Forums Analyst
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    1,814
    Likes Received:
    133
    Trophy Points:
    118
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice