Hi!

I'm trying to package up apcupsd and to create manifest for SMF. Apcupsd is a 
daemon that contacts APC UPS and if battery level falls below some threshold, 
it shuts down the server. Now, problem is that apcupsd should run 'apccontrol 
killpower' after all services are stopped. That command says to UPS to turn 
down the power to server. After the power comes back, server then turns on 
automatically.

My problem is - how to run 'apccontrol killpower' - which is run within STOP 
method of apcupsd startup script, if I use SMF? How can I define that apcupsd 
should be the latest service to be stopped when going to init level 0?
-- 
This message posted from opensolaris.org

Reply via email to