reads data on stdin, appends to file, observes HUP signal
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Jordan Orelli 58f28fb1bb more doc info 10 years ago
README.md add a readme 10 years ago
main.go more doc info 10 years ago

README.md

huppend

huppend reads data on stdin and appends it to a specified file, $outfile. Additionally, it listens for SIGHUP. When huppend receives SIGHUP, it closes its handle on $outfile and opens a new handle. This is useful for log rotation.

usage

huppend --pidfile=huppend.pid outfile.log