Kacper Posted March 6, 2021 Share Posted March 6, 2021 Hi, I have read many posts and I have seen Boot.php script. But still I am not user howto shutdown unraid properly from command line preserving timeouts required for VMs to close? I have written user.scirpt that will shutdown my server when battery runs out bellow 30% of capacity, but i don't know what is the correct command line command? poweroff will not wait for vms to close i suppose Quote Link to comment
JorgeB Posted March 6, 2021 Share Posted March 6, 2021 3 minutes ago, Kacper said: poweroff will not wait for vms to close i suppose It wait until the set timeout (Settings - VM Settings - VM shutdown time-out), it will force after that. Quote Link to comment
Kacper Posted March 6, 2021 Author Share Posted March 6, 2021 And it will wait for docker to shutdown and array to close gracefully? Quote Link to comment
JorgeB Posted March 6, 2021 Share Posted March 6, 2021 Yes, if they shutdown before you hit the global shutdown timeout (settings - shutdown time out) Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.