]> git.ipfire.org Git - thirdparty/pdns.git/commit
Ensure socket-dir matches runtimedir on old systemd 9574/head
authorPieter Lexis <pieter.lexis@powerdns.com>
Thu, 1 Oct 2020 18:36:51 +0000 (20:36 +0200)
committerPieter Lexis <pieter.lexis@powerdns.com>
Tue, 1 Dec 2020 15:37:52 +0000 (16:37 +0100)
commit7bbaae110abb53f43d0bf60c81efe3bb8630a925
tree11e7c0ac7f16b6d15ff98f3377d3f0a5cdac4cb6
parent5a1c14902b63f847b06ee8aeda21f7c049b1b553
Ensure socket-dir matches runtimedir on old systemd

This is mostly a hack for systemd version <240 so using virtual hosting
on Ubuntu Bionic and EL7 does not lead to surprises.

This Commit explicitly adds the `--socket-dir` to the invocation of the
unit. Any users who want to use their own runtimedirs should use a
drop-in unit overriding ExecStart. I believe this does not validate the
principle of least surprise for those using the PowerDNS provided
packages and virtual hosting.

Fixes #9485
m4/systemd.m4
pdns/Makefile.am
pdns/recursordist/Makefile.am