Zentyal Forum, Linux Small Business Server
Zentyal Server => Installation and Upgrades => Topic started by: EddieA on September 25, 2012, 12:18:20 am
-
I'm looking at configuring a UPS to shut down my system should it transfer to a UPS.
Is "poweroff" sufficient, or is there a script which will do a controlled shutdown of services prior to a power down.
I should add that this is currently 2.2, but will be moving to 3.0 at some point.
Cheers.
-
Try the shutdown command:
sudo shutdown -h now
You can also give it a time by giving it a time in minutes instead of now above. This should bring down all the services "nicely". Good luck!
-
sudo shutdown -h now
is this correct command to properly shutdown zentyal 5.0 machine?
-
Hi,
most UPS'es I know have something like a client to do a clean shutdown when the primary powersource fails.
e.g. APC uses "PowerChute"...
Best Bert
-
:)
Did you think about UPower?
https://upower.freedesktop.org/docs/UPower.html (https://upower.freedesktop.org/docs/UPower.html)
Cheers!