From: Peter van Dijk Date: Mon, 11 Feb 2013 14:04:36 +0000 (+0000) Subject: use private temp dir when running under systemd, thanks Morten Stevens&Ruben Kerkhof X-Git-Tag: rec-3.5-rc3~30 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=69bae201736e7a623c3b42a9432766f4270141e1;p=pdns use private temp dir when running under systemd, thanks Morten Stevens&Ruben Kerkhof git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@3105 d19b8d6e-7fed-0310-83ef-9ca221ded41b --- diff --git a/contrib/systemd-pdns-recursor.service b/contrib/systemd-pdns-recursor.service index 8f4404e1d..058cd1e99 100644 --- a/contrib/systemd-pdns-recursor.service +++ b/contrib/systemd-pdns-recursor.service @@ -5,6 +5,7 @@ After=network.target [Service] Type=forking ExecStart=/usr/sbin/pdns_recursor --daemon +PrivateTmp=true [Install] WantedBy=multi-user.target diff --git a/contrib/systemd-pdns.service b/contrib/systemd-pdns.service index 6edf2ae19..a115f292a 100644 --- a/contrib/systemd-pdns.service +++ b/contrib/systemd-pdns.service @@ -8,6 +8,7 @@ ExecStart=/usr/sbin/pdns_server --daemon ExecStop=/usr/bin/pdns_control quit Restart=on-failure RestartSec=2 +PrivateTmp=true [Install] WantedBy=multi-user.target