]> git.ipfire.org Git - thirdparty/pdns.git/commit
Set socket-dir to RUNTIME_DIRECTORY under systemd. 9073/head
authorPieter Lexis <pieter.lexis@powerdns.com>
Wed, 29 Apr 2020 09:32:23 +0000 (11:32 +0200)
committerPieter Lexis <pieter.lexis@powerdns.com>
Wed, 29 Apr 2020 09:32:23 +0000 (11:32 +0200)
commit9a5b0a54fa460c56fd895974ca41db4e869ae0e0
tree429b342b19335c7f5b923c590d24770915a1a03d
parentfcbada458f4625736ba962d6523339b0c34a04f0
Set socket-dir to RUNTIME_DIRECTORY under systemd.

RUNTIME_DIRECTORY is set by systemd to the value to `RuntimeDirectory`
, which is managed by systemd and so it is safe to use for the socket-dir.
pdns/common_startup.cc
pdns/pdns_recursor.cc