File: README.md

package info (click to toggle)
getdns 1.7.3-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,752 kB
  • sloc: ansic: 57,351; sh: 407; xml: 38; makefile: 22
file content (42 lines) | stat: -rw-r--r-- 1,732 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
Stubby integration with systemd
===============================

For GNU/Linux operating systems which use systemd as a process
manager, you might want to run stubby as a system service.

This directory provides recommended systemd unit files.
Normally, a downstream distributor will install it as:

    /lib/systemd/system/stubby.service

For systemd versions before 235:

  * This setup assumes that there is a system-level user named "stubby"
    which is in group "stubby", and try to limit the privileges of the running
    daemon to that user as closely as possible.

    The stubby.conf file also needs to be installed in:

        /usr/lib/tmpfiles.d/stubby.conf

    to make sure a cache directory is created for stubby on startup.


For systemd version of 235 and higher:

  * Creation of the system-level user and the cache directory is handled
    automatically by systemd and no further actions are required.


When the system-level user does have a home directory, stubby will store the
for Zero configuration DNSSEC dynamically acquired root trust anchor in a
subdirectory called ".getdns" of that home directory.  If the system-level
user does not have a home directory or the home directory is not writeable
or readable, stubby will fallback to the current working directory.

This can be overruled by supplying a "appdata_dir" in the stubby.yml
configuration file.  When a "appdata_dir" was specified, that directory will be
used for storing data related to Zero configuration DNSSEC immediately, without
the other paths being tried.  It is recommended for systemd setups using the
provided systemd.service file(s) to have a "appdata_dir" directive set to
"/var/cache/stubby" in the stubby.yml configuration file.