-
-
Notifications
You must be signed in to change notification settings - Fork 417
Open
Labels
packagingportabilityWe want NUT to build and run everywhere possibleWe want NUT to build and run everywhere possibleservice/daemon start/stopGeneral subject for starting and stopping NUT daemons (drivers, server, monitor); also BG/FG/DebugGeneral subject for starting and stopping NUT daemons (drivers, server, monitor); also BG/FG/Debugsystemd
Milestone
Description
nut.conf was in charge of telling init sysV script if NUT was to be started, and which component(s).
With newer init system, such as systemd, nut.conf is useless and all installed components are tried to be started. This results in failures, at least at initial installation.
By adding a '-f force-no-conf' option, we avoid returrning EXIT_FAILURE if no device in configured in ups.conf nor in upsmon.conf.
We may also consider broadening the scope to all configuration.
i.e., if no configuration file is found, don't EXIT_FAILURE.
However, note that other errors are not covered.
@bigon , @clepple : any comment?
References:
Metadata
Metadata
Assignees
Labels
packagingportabilityWe want NUT to build and run everywhere possibleWe want NUT to build and run everywhere possibleservice/daemon start/stopGeneral subject for starting and stopping NUT daemons (drivers, server, monitor); also BG/FG/DebugGeneral subject for starting and stopping NUT daemons (drivers, server, monitor); also BG/FG/Debugsystemd