Red Hat Bugzilla – Bug 848491
systemctl enable nut-driver.service fails to work
Last modified: 2012-08-20 06:43:17 EDT
Description of problem:
# systemctl enable nut-driver.service
The unit files have no [Install] section. They are not meant to be enabled using systemctl.
Version-Release number of selected component (if applicable):
I am still working on learning systemd stuff, I tried adding the Install section and an "WantedBy=" line. Nothing there works.
You don't want to enable nut-driver by hand, it's started only on demand.
a)you have locally attached ups, then you need nut-server.service (it has Requires=nut-driver.service so it will start nut-driver.service itself) and (in most cases also) nut-client.service
b)ups is attached to different computer and you want to know its status, then you need nut-client.service only
# service nut-client restart
Redirecting to /bin/systemctl restart nut-client.service
Failed to issue method call: Unit nut-client.service failed to load: No such file or directory. See system logs and 'systemctl status nut-client.service' for details.
I forgot to include this in my initial report. Sorry. Did you mean nut-monitor?
> I forgot to include this in my initial report. Sorry. Did you mean
Yes, it should be nut-monitor.service from nut-client rpm package