<div dir="auto"><div>If the distro packaging follows vanilla NUT reference units, disabling `nut.target` alone should suffice.<div dir="auto"><br></div><div dir="auto">Otherwise, NDE-made units for drivers are likely tripped by a same-named timer unit that re-runs NDE and spawns missing drivers (though disable/mask also for each `nut-driver@upsname.service` should preclude them starting by timer or other ways).</div><div dir="auto"><br></div><div dir="auto">Hope this helps,</div><div dir="auto">Jim Klimov</div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Nov 28, 2024, 20:12  <<a href="mailto:nut-upsuser@kosowsky.org">nut-upsuser@kosowsky.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I would like to keep NUT installed but disable it completely at times.<br>
I tried both 'disabling' and 'masking' all the following 'systemctl services<br>
    nut-server<br>
        nut-monitor<br>
        nut-client<br>
        ups-monitor<br>
        nut-driver-enumerator<br>
as follows:<br>
   systemctl disable nut-server nut-monitor nut-client ups-monitor nut-driver-enumerator<br>
   systemctl mask nut-server nut-monitor nut-client ups-monitor nut-driver-enumerator<br>
<br>
But I still have 2 '/sbin/upsdrvctl' processes that are respawned periodically:<br>
Specifically:<br>
    root      123446  0.1  0.2   2320  1280 ?        Ss   11:27   0:00 /bin/sh -c NUTDEV="`/usr/libexec/nut-driver-enumerator.sh --get-device-for-service APC_RS900`" && [ -n "$NUTDEV" ] || { echo "FATAL: Could not find a NUT device section for service unit APC_RS900" >&2 ; exit 1 ; } ; /sbin/upsdrvctl start "$NUTDEV"<br>
    root      123473  0.0  0.3   2220  1408 ?        S    11:27   0:00 /sbin/upsdrvctl start APC_RS900<br>
<br>
These processes respawn every few minutes and clutter my syslog with error messages.<br>
<br>
So, what do I need to do to fully disable NUT?<br>
And what are the minimum services I need to disable to make this take effect...<br>
<br>
I am running Bookworm/Debian 12 on a RPI5.<br>
<br>
_______________________________________________<br>
Nut-upsuser mailing list<br>
<a href="mailto:Nut-upsuser@alioth-lists.debian.net" target="_blank" rel="noreferrer">Nut-upsuser@alioth-lists.debian.net</a><br>
<a href="https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser" rel="noreferrer noreferrer" target="_blank">https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser</a><br>
</blockquote></div></div></div>