Dustin C. Hatch 54727e148f r/nut{,-monitor}: Enable nut.target
Recent versions of NUT have a *nut.target* unit that collects all of the
NUT-related services.  Enabling any of the services individually does
effectively nothing, as it only adds the service as a `Wants` dependency
for *nut.target*, and that unit already has dependencies for all of
them. Thus, in order for the service to start at boot, *nut.target* has
to be enabled instead.

In situations where only *nut-monitor* should be enabled, enabling
*nut.target* is inappropriate, since that enables *nut-driver* and
*nut-server* as well. It's not clear why upstream made this change (it
was part of a [HUGE pull request][0]), but restoring the desired
behavior is easy enough by clearing the dependencies from *nut.target*.
Services that we want to start automatically can still be enabled
individually, and will start as long as *nut.target* is enabled.

[0]: https://github.com/networkupstools/nut/pull/330
2024-01-22 09:03:15 -06:00
2023-10-28 16:07:56 -05:00
2024-01-22 09:03:15 -06:00
2024-01-19 20:52:48 -06:00
2020-02-22 16:28:06 -06:00
2018-04-08 12:20:03 -05:00
2018-08-19 14:17:48 -05:00
2018-03-27 20:44:43 -05:00
2018-07-01 15:19:20 -05:00
2018-10-07 21:42:18 -05:00
2024-01-09 18:18:34 -06:00
2023-11-13 17:45:21 -06:00
2022-08-10 21:55:54 -05:00
2020-08-29 14:22:17 -05:00
2018-04-08 10:11:43 -05:00
2024-01-19 21:55:36 -06:00
2024-01-19 21:55:36 -06:00
2024-01-19 20:50:03 -06:00
2018-08-12 10:14:25 -05:00
2018-08-12 10:14:25 -05:00
2018-08-12 10:14:25 -05:00
2018-08-12 10:14:25 -05:00
2023-05-09 21:37:46 -05:00
2024-01-19 20:50:03 -06:00
2018-03-27 20:44:43 -05:00
2018-08-13 20:25:22 -05:00
2023-10-27 17:57:20 -05:00
2019-09-19 19:51:45 -05:00
2022-08-11 21:40:19 -05:00
2021-10-10 16:09:15 -05:00
Description
Ansible configuration policy for the private network/home lab of Dustin C. Hatch
http://dustin.hatch.name/
7.7 MiB
Languages
Jinja 86.2%
Python 6.6%
Shell 4.6%
Groovy 2.6%