- add -l contortion so that backgrounded processes can re-open the log
authorMark Huang <mlhuang@cs.princeton.edu>
Wed, 13 Oct 2004 02:35:47 +0000 (02:35 +0000)
committerMark Huang <mlhuang@cs.princeton.edu>
Wed, 13 Oct 2004 02:35:47 +0000 (02:35 +0000)
commitbf44032ac1fc3a9e29b268ed7c63c07f6c1dc620
treee39fcc109dece010f6c718b0dc5eb9c78413a785
parentf22162acb0450fe34292e0f6768087ac960de5f2
- add -l contortion so that backgrounded processes can re-open the log
  file after it's rotated
- handle SIGHUP: re-open the log file
- print warning if vcached is already running
- setsid to detach from the controlling terminal and close stdout,
  stdin, stderr before forking
scripts/vcached