/var/run is a symlink to /run. IOW, /run is the canonical path. Change pidDir to "/run/firebird"?