Server Restart Option

Would like to see a 'Server Restart' option in the Cog dropdown menu just above the Logout. Also add this as a permission in the User Accounts so we can disable that option from users. This would make it easier to restart the server while using the web ui remotely.


  • This is already possible. See manual -> Advanced Setup. It describes how to reboot or shutdown pi. Same method can also be used to restart the server service.
  • Reading that document states that it would allow possible hacking and its not a secure way. I don't mind using a script as long as it can be set up to be used by approved users.

    If not, then having it built into the server with user access limited to those approved would be the only other option that I can think of.
  • What I meant is that everyone with access to server can run it, but since it is not configurable from server it is safe. I mean it only restarts the server so it is all they can do. Also you can add a confirm dialog and set required user permission so it is as safe as it can be. Making it editable from internet would make it insecure.
  • Maybe I am getting a bit confused here, not explaining the request or just not understanding what you mean by using a script. So I will try to better clarify the request along with trying to clarify my understanding of the script that was mentioned.

    What I am looking for is an addition to the User Profile (within Rep-Server) in the Edit Profile window to allow for selected profiles the ability to restart the daemon (service). I don't want the hardware restarted, just the daemon (service). Since I am not well versed in scripting within Ubuntu, I am making a guess that different OS versions would use different scripts to restart the Daemon service for Rep-Server. I believe this variety of script differences could be resolved by adding a Script section in Global Settings allowing an Administrator user in Rep-Server to be able to edit the script to fit the OS version they are using. Then that script would show up as an option in the Edit Profile window.

    Now for my confusion on the information about a script that you recommended. I am not sure where within Rep-Server you can place a script. I read the document and I am making a guess that what is being recommended is making an OS side script outside of Rep-Server. That is not what my request involves. If I had to run the script from within the OS, then I wouldn't need a script since I could just as easily reboot the server if needed.

    The whole point of the request is to have a quick and easy way to remotely restart the Rep-Server daemon while I am not near the equipment. Or in between prints, quickly restart the daemon to refresh the Rep-Server.

    Hope that helps in clarifying the request... sometimes I have an idea in the mind and just can't get it across in my text.
Sign In or Register to comment.