Opened 21 years ago
Closed 21 years ago
Last modified 19 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)
by , 21 years ago
| Attachment: | mythtv.logrotate.diff added |
|---|
comment:1 by , 21 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
comment:2 by , 21 years ago
| 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 by , 21 years ago
| Resolution: | → fixed |
|---|---|
| Status: | reopened → closed |

(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