[varnish] - Added PrivateTmp=true to varnishd unit file, closing #782539 - Fixed comment typos in varnish unit

Ingvar Hagelund ingvar at fedoraproject.org
Mon Mar 12 12:46:43 UTC 2012


commit 25a91c2938894d30b855127e9fdc24bf4b16f297
Author: Ingvar Hagelund <ingvar at redpill-linpro.com>
Date:   Mon Mar 12 13:46:28 2012 +0100

    - Added PrivateTmp=true to varnishd unit file, closing #782539
    - Fixed comment typos in varnish unit file

 varnish.service |    5 +++--
 varnish.spec    |    6 +++++-
 2 files changed, 8 insertions(+), 3 deletions(-)
---
diff --git a/varnish.service b/varnish.service
index ec255d7..6f7b107 100644
--- a/varnish.service
+++ b/varnish.service
@@ -6,8 +6,8 @@ After=syslog.target network.target
 
 #
 # If you want to make changes to this file, please copy it to 
-# /etc/systemd/system/varnish and make your changes there.
-# This will override the file kept at /lib/systemd/system/varnish
+# /etc/systemd/system/varnish.service and make your changes there.
+# This will override the file kept at /lib/systemd/system/varnish.service
 #
 # Enviroment variables may be found in /etc/varnish/varnish.params
 #
@@ -26,6 +26,7 @@ EnvironmentFile=/etc/varnish/varnish.params
 
 Type=forking
 PIDFile=/var/run/varnish.pid
+PrivateTmp=true
 ExecStart=/usr/sbin/varnishd \
 	-P /var/run/varnish.pid \
 	-f $VARNISH_VCL_CONF \
diff --git a/varnish.spec b/varnish.spec
index bf5546d..b1848ab 100644
--- a/varnish.spec
+++ b/varnish.spec
@@ -1,7 +1,7 @@
 Summary: High-performance HTTP accelerator
 Name: varnish
 Version: 3.0.2
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: BSD
 Group: System Environment/Daemons
 URL: http://www.varnish-cache.org/
@@ -307,6 +307,10 @@ fi
 %postun libs -p /sbin/ldconfig
 
 %changelog
+* Mon Mar 12 2012 Ingvar Hagelund <ingvar at redpill-linpro.com> - 3.0.2-2
+- Added PrivateTmp=true to varnishd unit file, closing #782539
+- Fixed comment typos in varnish unit file
+
 * Tue Mar 06 2012 Ingvar Hagelund <ingvar at redpill-linpro.com> - 3.0.2-1
 - New upstream version 3.0.2
 - Removed INSTALL as requested by rpmlint


More information about the scm-commits mailing list