File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 48
48
### Turning machine off on empty queue
49
49
To use this functionality you should have * Wake-on-LAN* activated.
50
50
51
- You can then set the ` shutdown_on_job_no ` to * True * and the machine will turn off when the job queue is empty.
51
+ You can then set the ` shutdown_on_job_no ` to either " * poweroff * " or " * suspend * " and the machine will turn off when the job queue is empty.
52
52
53
53
``` yml
54
54
cluster :
55
55
client :
56
56
...
57
- shutdown_on_job_no : True
57
+ shutdown_on_job_no : suspend
58
58
` ` `
59
59
60
60
In order for the shutdown to be triggered by the ` client.py` you must allow the `sudo` call without password in an `/etc/sudoers.d/` entry.
61
+ Please choose the line that is appropriate for you depending on if you want to suspend or poweroff.
61
62
62
63
Example :
63
64
` ` ` bash
You can’t perform that action at this time.
0 commit comments