<div dir="ltr"><div>You mentioned the RPi runs a buster-based OS? <br></div><div><br></div><div>I suppose the simplest way is you can forgo the init-scripts and retain just the systemd services (as listed in the article - including the nut-driver-enumerator which would create nut-driver@myups.service based in the ups.conf section).</div><div><br></div><div>Jim<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Apr 24, 2023 at 9:03 PM gene heskett <<a href="mailto:gheskett@shentel.net">gheskett@shentel.net</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">On 4/24/23 14:05, Jim Klimov wrote:<br>
> "I'd thought you'd never ask" (C)<br>
> <br>
> Can you give this walkthrough a shot?<br>
> <a href="https://github.com/networkupstools/nut/wiki/Building-NUT-for-in%E2%80%90place-upgrades-or-non%E2%80%90disruptive-tests" rel="noreferrer" target="_blank">https://github.com/networkupstools/nut/wiki/Building-NUT-for-in%E2%80%90place-upgrades-or-non%E2%80%90disruptive-tests</a><br>
> <br>
> Jim<br>
> <br>
I used this section of that link to build the new one:<br>
This goes similar to usual build and install from Git:<br>
<br>
:; cd /tmp<br>
:; git clone <a href="https://github.com/networkupstools/nut" rel="noreferrer" target="_blank">https://github.com/networkupstools/nut</a><br>
:; cd nut<br>
:; ./autogen.sh<br>
:; ./configure --enable-inplace-runtime # --maybe-some-other-options<br>
:; make -j 4 all && make -j 4 check && sudo make install<br>
<br>
configure was very noisy but no show-stoppers<br>
Stopped it all before the install, and had to sudo systemctl <br>
reload-daemons and now on restart, get<br>
  pi@rpi4:/media/pi/workspace/nut $ sudo /etc/init.d/nut-server start<br>
[ ok ] Starting nut-server (via systemctl): nut-server.service.<br>
pi@rpi4:/media/pi/workspace/nut $ sudo /etc/init.d/nut-client start<br>
[ ok ] Starting nut-client (via systemctl): nut-client.service.<br>
pi@rpi4:/media/pi/workspace/nut $ sudo /etc/init.d/ups-monitor start<br>
pi@rpi4:/media/pi/workspace/nut $ upsc myups<br>
Error: Connection failure: Connection refused<br>
<br>
I did a sudo cp -R /etc/nut to /etc/nut-bak so I've got all the old <br>
config I hope. Whats next? And thanks Jim.<br>
take care & stay well.<br>
<br>
[...]<br>
<br>
Cheers, Gene Heskett.<br>
-- <br>
"There are four boxes to be used in defense of liberty:<br>
  soap, ballot, jury, and ammo. Please use in that order."<br>
-Ed Howdershelt (Author, 1940)<br>
If we desire respect for the law, we must first make the law respectable.<br>
  - Louis D. Brandeis<br>
Genes Web page <<a href="http://geneslinuxbox.net:6309/" rel="noreferrer" target="_blank">http://geneslinuxbox.net:6309/</a>><br>
<br>
</blockquote></div>