Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: Darrell Lewis on April 24, 2003, 03:33:16 PM

Title: powstatd not allowing proper shutdown
Post by: Darrell Lewis on April 24, 2003, 03:33:16 PM
I've got powstatd working with 5.6, except that during test shutdowns (pulling the plug) the system stays  on "shutting down UPS service" for about 40 seconds or so - untill the UPS switches off.

Good thing we now have ext3.

I've had a search throgh the forums and found naught.

Is there a way to force it through the UPS service shutdown?
Title: Re: powstatd not allowing proper shutdown
Post by: Darrell Lewis on April 24, 2003, 06:32:49 PM
Answer found

Added an & to the end of the powstatd -k command in the powstatd script in /etc/rc.d/init.d, making the line read

powstatd -k &

Forces the kill command to run in the background so that it doesn't hold up the rest of the shutdown.