haiwen/seafile — pull request #716 by Chilledheart (2014-07-04 03:04:36+00:00)
Title: [net] add initial support for reopening logfile

This patch adds initial support for reopening logfile while the program is running, which is useful for logrotate task:
- Rename the current logfile by logrotate or manually
- Send signal USR1 to the seaf-server process
- Go back to normal task