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
_______________________________________________
Nut-upsdev mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsdev