diff options
| author | auric <auric@japegames.com> | 2026-02-22 18:18:36 -0600 |
|---|---|---|
| committer | auric <auric@japegames.com> | 2026-02-22 18:19:11 -0600 |
| commit | 9d113e9bb8b7d57b4a088d4991674ff068ac56bf (patch) | |
| tree | 5bdc716b569cc0ec2ad9b68efe2d68de2f0b4b93 /src/log_tail.h | |
| parent | 52f92ea70f74008d82d21fef5085fb7380314ea1 (diff) | |
Fix log tail rotation handling and SIGHUP cleanup
- Detect IN_MOVE_SELF/IN_DELETE_SELF events in log_tail_handle and
re-open the watched path so srcds log rotation is followed correctly
- Parse inotify events rather than blindly draining them
- Call log_tail_cleanup() before log_tail_init() on SIGHUP to prevent
fd leaks on reload
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'src/log_tail.h')
0 files changed, 0 insertions, 0 deletions
