[Nut-upsuser] Debian 9.3 nut-client.service reports itself as nut-monitor.service

Roger Price roger at rogerprice.org
Thu Dec 28 17:56:01 UTC 2017


On Thu, 28 Dec 2017, Charles Lepple wrote:

> On Dec 28, 2017, at 6:35 AM, Roger Price <roger at rogerprice.org> wrote:
>> It would be clearer to users if the service unit file was also called
>> /lib/systemd/service/nut-monitor.service
> From what I can tell, the "nut-client.service" name comes from this Debian-specific symlink:
> https://sources.debian.org/src/nut/2.7.4-5.1/debian/rules/#L104

The comment for the link is

   # Add a symlink to mask the LSB initscript
   ln -s nut-monitor.service $(CURDIR)/debian/nut-client/lib/systemd/system/nut-client.service

However Debian has now dropped the LSB (See https://lwn.net/Articles/658809/), 
so is the symlink still needed?

Roger



More information about the Nut-upsuser mailing list