[milter-greylist] systemd: enable PrivateTmp
ensc
ensc at fedoraproject.org
Sun Jan 27 13:22:07 UTC 2013
commit db9763711082c43a8646b0b18ccca92516fe3624
Author: Enrico Scholz <enrico.scholz at informatik.tu-chemnitz.de>
Date: Sun Jan 27 13:02:01 2013 +0100
systemd: enable PrivateTmp
milter-greylist.spec | 1 +
milter-greylist.systemd.service | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/milter-greylist.spec b/milter-greylist.spec
index c8093c5..1e082d4 100644
--- a/milter-greylist.spec
+++ b/milter-greylist.spec
@@ -297,6 +297,7 @@ rm -rf $RPM_BUILD_ROOT
- updated to 4.4.2
- rediffed patches and removed obsolete ones
- enabled hardened build
+- enabled PrivateTmp for systemd
* Sun Aug 19 2012 Enrico Scholz <enrico.scholz at informatik.tu-chemnitz.de> - 4.2.7-1900
- disabled upstart
diff --git a/milter-greylist.systemd.service b/milter-greylist.systemd.service
index 6b44adb..a7d93eb 100644
--- a/milter-greylist.systemd.service
+++ b/milter-greylist.systemd.service
@@ -8,6 +8,7 @@ Before = postfix.service
Type = simple
ExecStart = /usr/sbin/milter-greylist -D
Restart = on-failure
+PrivateTmp=true
[Install]
WantedBy = multi-user.target
More information about the scm-commits
mailing list