Loading

Report as inappropriate

I added more items to the system menu. I didn't put them in the guide, so you'll have to merge these items with the others if you are doing the relay control:

system:
  actions:
  - action: shutdown
    command: sudo shutdown -h now
    confirm: You are about to shutdown the system
    name: shutdown
  - action: reboot
    command: sudo shutdown -r now
    confirm: You are about to reboot the system
    name: Reboot
 - action: srestart
    command: sudo service octoprint restart; sudo service octopipanel restart
    confirm: You are about to restart octoprint.
    name: ServerRestart

That goes in the .octopi/config

Also note that I have an "octopipanel" service, and you probably don't, so you can edit that line too.