Bug ID | 1011168 |
---|---|
Summary | nut (network ups tools) unusable due to missing path in systemd unit |
Classification | openSUSE |
Product | openSUSE Distribution |
Version | Leap 42.3 |
Hardware | Other |
OS | Other |
Status | NEW |
Severity | Normal |
Priority | P5 - None |
Component | Other |
Assignee | bnc-team-screening@forge.provo.novell.com |
Reporter | jnelson-suse@jamponi.net |
QA Contact | qa-bugs@suse.de |
Found By | --- |
Blocker | --- |
The file /usr/lib/systemd/system/nut-driver.service contains this [Unit] Description=Network UPS Tools - power device driver controller After=local-fs.target network.target StopWhenUnneeded=yes [Service] ExecStart=/upsdrvctl start ExecStop=/upsdrvctl stop Type=forking I created an override with the appropriate ExecStart and ExecStop lines, as thus: [Service] ExecStart= ExecStart=/usr/lib/ups/driver/upsdrvctl start ExecStop= ExecStop=/usr/lib/ups/driver/upsdrvctl stop which makes the *proper* unit file: [Unit] Description=Network UPS Tools - power device driver controller After=local-fs.target network.target StopWhenUnneeded=yes [Service] ExecStart=/usr/lib/ups/driver/upsdrvctl start ExecStop=/usr/lib/ups/driver/upsdrvctl stop Type=forking