If chroot is enabled, you should pass the configfile (from the
commandline) as a full path from the original root. After the
chroot has been performed the now defunct portion of the config
file path is removed to be able to reread the config after a
reload.
All other file paths (working dir, logfile, roothints, and key
files) can be specified in several ways: as an absolute path
relative to the new root, as a relative path to the working
directory, or as an absolute path relative to the original root.
In the last case the path is adjusted to remove the unused por-
tion.
The pidfile can be either a relative path to the working direc-
tory, or an absolute path relative to the original root. It is
written just prior to chroot and dropping permissions. This
allows the pidfile to be /var/run/unbound.pid and the chroot to
be /var/unbound, for example.
Additionally, unbound may need to access /dev/random (for
entropy) from inside the chroot.
If given a chroot is done to the given directory. The default is
"/usr/local/etc/unbound". If you give "" no chroot is performed.
If chroot is enabled, you should pass the configfile (from the
commandline) as a full path from the original root. After the
chroot has been performed the now defunct portion of the config
file path is removed to be able to reread the config after a
reload.
All other file paths (working dir, logfile, roothints, and key
files) can be specified in several ways: as an absolute path
relative to the new root, as a relative path to the working
directory, or as an absolute path relative to the original root.
In the last case the path is adjusted to remove the unused por-
tion.
The pidfile can be either a relative path to the working direc-
tory, or an absolute path relative to the original root. It is
written just prior to chroot and dropping permissions. This
allows the pidfile to be /var/run/unbound.pid and the chroot to
be /var/unbound, for example.
Additionally, unbound may need to access /dev/random (for
entropy) from inside the chroot.
If given a chroot is done to the given directory. The default is
"/usr/local/etc/unbound". If you give "" no chroot is performed.
การแปล กรุณารอสักครู่..
