summaryrefslogtreecommitdiff
path: root/src/console/rcon.h
diff options
context:
space:
mode:
authorauric <auric@japegames.com>2026-02-22 18:44:30 -0600
committerauric <auric@japegames.com>2026-02-22 18:44:30 -0600
commit3768dd71501e3485b9c2b7557e48a9438b18cb3c (patch)
treefb2963c0fbd18c516337b28757e49dd7c3166e47 /src/console/rcon.h
parent9d113e9bb8b7d57b4a088d4991674ff068ac56bf (diff)
Resolve symlinks in log_tail_init so inotify watches real file
inotify watches the symlink inode itself, not the target, so IN_MODIFY never fires when the target file is written. Use realpath() to resolve the configured path before open() and inotify_add_watch(), allowing a stable symlink (e.g. current.log) in the unit YAML that gets re-resolved to the actual log file on each init/SIGHUP. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'src/console/rcon.h')
0 files changed, 0 insertions, 0 deletions