]> arthur.barton.de Git - ngircd-alex.git/commit
Show a warning on startup if config file is not a full path
authorAlexander Barton <alex@barton.de>
Tue, 11 Sep 2012 09:40:47 +0000 (11:40 +0200)
committerAlexander Barton <alex@barton.de>
Tue, 11 Sep 2012 09:40:47 +0000 (11:40 +0200)
commitf38a9035e5439cb395b2de6b9bdfa36102bfe80c
tree00cf9c032ffe7f5e1d61ec99b93ef6826933f459
parenta12d6ff257813d47657d53f00699d21bfaf0e301
Show a warning on startup if config file is not a full path

ngIRCd is a long-running process and changes its working directory to "/" to
not block mounted filesystems and the like when running as daemon ("not in the
foreground"); therefore the path to the configuration file must be relative to
"/" (or the chroot() directory), which basically is "not relative", to ensure
that "kill -HUP" and the "REHASH" command work as expected later on.

This fixes parts of bug #127.
src/ngircd/conf.c