packages/net/nut
Daniel F. Dickinson 867ea959a2 nut: Fix nutmon issues with init
NUT's upsmon is rather peculiar in that it has a child process that runs as
a regular user and a parent process that runs as root (in order to facilitate
shutting down the device if needed).  procd doesn't deal well with this and
doing 'normal' procd stop / restart / etc results in the child process still
hanging around but with not parent, which causes undesired behaviour.  Therefore,
add the use of 'upsmon -c stop' during process shutdown / restart in order to
ensure that upsmon is actually fully stopped.

Also fixes nut-monitor going into crashloop on network changes (due to
trigger that restarted upsmon but failed due to orphan child from before
restart).

Signed-off-by: Daniel F. Dickinson <cshored@thecshore.com>
2019-04-28 20:17:12 +00:00
..
files nut: Fix nutmon issues with init 2019-04-28 20:17:12 +00:00
patches nut: added compatibility with openssl-1.1 2018-06-01 12:04:32 -03:00
Config.in nut: Build serial drivers by default 2018-11-19 16:40:11 -05:00
Makefile nut: initscripts hotplug: Fix many small semantic issues 2019-01-20 12:16:28 -05:00