[Nut-upsuser] Foreground process possible?

Charles Lepple clepple at gmail.com
Fri Feb 17 23:59:07 UTC 2012


On Feb 17, 2012, at 11:50 AM, McCann, Brian wrote:

>> In order for daemontools to re-launch only the driver which crashes, it
>> needs to monitor each driver separately. In that case, I would recommend
>> bypassing upsdrvctl, and creating a separate daemontools service per
>> driver. For my test system, the driver arguments would be
>> "/lib/nut/tripplite_usb -a tripplite -D", but as I mentioned, upsdrvctl
>> can print that.
>> 
> 
> Don't know how I didn't catch that after looking at ps output all day long...but thanks for pointing out how oblivious I am! :)

No worries - I had to stare at the upsdrvctl source for a while to be sure I wasn't missing something else in that code.

-- 
Charles Lepple
clepple at gmail






More information about the Nut-upsuser mailing list