Displaying 1 result from an estimated 1 matches for "dateddirectory".
Did you mean:
data_directory
2008 Sep 17
1
UPSLog rotating
Hi,
Trying to rotate the ups.log on a FreeBSD 7.0 system
and its not being nice about it.
I tried the "quick and dirty" way by doing :
mv /var/log/ups.log ${DATEDDIRECTORY}/ups.log
kill -1 `cat /var/db/nut/upslog.pid`
I get :
Sep 17 10:57:20 valhalla upslog[81972]: could not reopen logfile /var/log/ups.log: Permission denied
So I stop upslog, remove the file, and start it to get a
clean/fresh file. It shows me :
-rw-r--r-- 1 root wheel 36 Sep 17 10:59 /va...