[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

how to implement a clean SIGHUP handling for closing and reopening log files ?



hy.

i want to patch a programm (vboxgetty) to close and reopen it's log
file, so savelog can rotate this logfile. can someone give me a hint or
some example code ?

(is there more to do than installing a handler that closes and reopens
the file ?)

any help would be great...

regards, andreas


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: