[Nut-upsdev] exec_prefix expansion in configure script
Marc Rechté
marc3 at rechte.fr
Mon Oct 15 16:56:41 UTC 2012
Hello,
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
This is my configure command:
./configure \
--without-wrap \
--with-user=ups \
--with-group=nut \
--with-usb \
--with-cgi \
--prefix=/usr \
--datadir=/usr/share/ups \
--sysconfdir=/etc/ups \
--with-cgipath=/usr/share/webapps/nut \
--with-udev-dir=/usr/lib/udev \
--with-systemdsystemunitdir=/lib/systemd/system \
--with-htmlpath=/usr/share/webapps/nut
Thanks
More information about the Nut-upsdev
mailing list