Permalink
Browse files

use private temp dir when running under systemd, thanks Morten Steven…

…s&Ruben Kerkhof

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@3105 d19b8d6e-7fed-0310-83ef-9ca221ded41b
  • Loading branch information...
1 parent dc83891 commit 69bae201736e7a623c3b42a9432766f4270141e1 @Habbie Habbie committed Feb 11, 2013
Showing with 2 additions and 0 deletions.
  1. +1 −0 contrib/systemd-pdns-recursor.service
  2. +1 −0 contrib/systemd-pdns.service
@@ -5,6 +5,7 @@ After=network.target
[Service]
Type=forking
ExecStart=/usr/sbin/pdns_recursor --daemon
+PrivateTmp=true
[Install]
WantedBy=multi-user.target
@@ -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

0 comments on commit 69bae20

Please sign in to comment.