ups-nut

[prev] [thread] [next] [lurker] [Date index for 2005/12/20]

From: Aaron J. Grier
Subject: ups-nut
Date: 23:42 on 20 Dec 2005
$ man 8 upslog
[...]
LOG ROTATION
       upslog writes its pid to upslog.pid, and will reopen the  log file  if
       you  send  it a SIGHUP.  This allows it to keep running when the log is
       rotated by an external program.  
[...]

# cat /var/db/nut/upslog.pid
9915
# ps p 9915
 PID TT STAT    TIME COMMAND
9915 ?? Ss   0:00.01 /usr/pkg/bin/upslog -s mge1100@localhost -l /var/log/ups 
# kill -HUP 9915
# cat /var/db/nut/upslog.pid
9915
# ps p 9915
PID TT STAT TIME COMMAND
# 

behaviour != documentation.

grr...

-- 
  Aaron J. Grier | "Not your ordinary poofy goof." | agrier@xxxxxxxxx.xxx
              "silly brewer, saaz are for pils!"  --  virt

Generated at 07:00 on 04 Jan 2006 by mariachi 0.52