Opened 19 years ago
Closed 19 years ago
Last modified 17 years ago
#33 closed patch (fixed)
SIGHUP log rotation
Reported by: | Robert Tsai <rtsai1111> | Owned by: | Isaac Richards |
---|---|---|---|
Priority: | minor | Milestone: | 0.19 |
Component: | mythtv | Version: | head |
Severity: | low | Keywords: | |
Cc: | Ticket locked: | no |
Description
This patch is taken from http://www.gossamer-threads.com/lists/mythtv/dev/110113
It adds a SIGHUP handler to mythbackend for rotating logfiles in response to a SIGHUP, so that a logrotate.d "postrotate" script can do:
kill
cat /var/run/mythbackend.pid
without worrying about whether or not restarting mythbackend will interrupt any recordings, etc.
Attachments (1)
Change History (4)
Changed 19 years ago by
Attachment: | mythtv.logrotate.diff added |
---|
comment:1 Changed 19 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 Changed 19 years ago by
Resolution: | fixed |
---|---|
Status: | closed → reopened |
It looks like 'errno' and 'EINTR' are not defined which is preventing compiling of main.cpp (at least as of 9PM EST July 2nd, 2005). I will try to re-open this ticket just to make sure this is checked.
Thanks.
comment:3 Changed 19 years ago by
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
Note: See
TracTickets for help on using
tickets.
(In [6764]) SIGHUP handler to reopen the log file patch from Roberty Tsai slightly modified to do away with the strdup and associated free.
This close #33