Skip to content

Commit

Permalink
fixing issue intelligent-agent#17
Browse files Browse the repository at this point in the history
adding systemctl commands to octoprint's default config provided.
  • Loading branch information
goeland86 authored Dec 28, 2016
1 parent f97661c commit 60d7deb
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions OctoPrint/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -228,3 +228,19 @@ controls:
max: 1
min: -1
step: 2
actions:
- action: Restart Redeem
command: sudo systemctl restart redeem
name: Restart Redeem
- action: Restart Octoprint
command: sudo systemctl restart octoprint
name: Restart Octoprint
- action: Restart Toggle
command: sudo systemctl restart toggle
name: Restart Toggle
- action: Shutdown
command: sudo shutdown -h now
name: Shutdown
- action: Reboot
command: sudo shutdown -r now
name: Reboot

0 comments on commit 60d7deb

Please sign in to comment.