]> git.ipfire.org Git - thirdparty/pdns.git/commit
Set socket-dir to RUNTIME_DIRECTORY under systemd. 9397/head
authorPieter Lexis <pieter.lexis@powerdns.com>
Wed, 29 Apr 2020 09:32:23 +0000 (11:32 +0200)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Wed, 19 Aug 2020 13:28:19 +0000 (15:28 +0200)
commitc415e0d460dd489d723134659cb3e80edee6c238
treee9a5047b3208bd1ad27c45efc9895073940d33b3
parent4f1aa30d129d5ad1724194e0ff45f2e20bd4941f
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.

(cherry picked from commit 9a5b0a54fa460c56fd895974ca41db4e869ae0e0)
pdns/common_startup.cc
pdns/pdns_recursor.cc