[Nut-upsdev] exec_prefix expansion in configure script

Arnaud Quette aquette.dev at gmail.com
Mon Oct 15 21:38:33 UTC 2012


2012/10/15 Marc Rechté <marc3 at rechte.fr>
>
> Hello,

 salut Marc,

long time no see...

> While making the package I get the out
> ...
> checking alt pid path... /var/state/ups
> checking driver path... ${exec_prefix}/bin
> checking cgi path... /usr/share/webapps/nut
> ...
>
> This brings also problems in systemd scripts which are not well expanded after installation:
>
> # cat /usr/lib/systemd/system/nut-driver.service
> [Unit]
> Description=Network UPS Tools - power device driver controller
> After=local-fs.target network.target
> StopWhenUnneeded=yes
>
> [Service]
> ExecStart=${exec_prefix}/bin/upsdrvctl start
> ExecStop=${exec_prefix}/bin/upsdrvctl stop
> Type=forking
> (...)

right, thanks for spotting.
fixed in trunk, r3757.
patch link (need ~1 h iirc to be available):
http://trac.networkupstools.org/projects/nut/changeset/3757

cheers,
Arnaud
--
new blog - http://arnaud.quette.fr



More information about the Nut-upsdev mailing list