We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 777da6d commit 7ae6ffdCopy full SHA for 7ae6ffd
content/en/docs/cluster/power-saving.md
@@ -61,7 +61,8 @@ In order for the shutdown to be triggered by the `client.py` you must allow the
61
62
Example:
63
```bash
64
-echo 'ALL ALL=(ALL) NOPASSWD:/usr/bin/systemctl suspend' | sudo tee /etc/sudoers.d/green-coding-shutdown
+echo 'ALL ALL=(ALL) NOPASSWD:/usr/bin/systemctl suspend' | sudo tee /etc/sudoers.d/green-coding-shutdown # for systems that support suspend
65
+echo 'ALL ALL=(ALL) NOPASSWD:/usr/bin/systemctl poweroff' | sudo tee -a /etc/sudoers.d/green-coding-shutdown # for systems that only can shutdown
66
sudo chmod 500 /etc/sudoers.d/green-coding-shutdown
67
```
68
0 commit comments