- Added PrivateTmp=true to varnishd unit file, closing #782539

- Fixed comment typos in varnish unit file
This commit is contained in:
Ingvar Hagelund 2012-03-12 13:46:28 +01:00
parent 09fe4db73c
commit 25a91c2938
2 changed files with 8 additions and 3 deletions

View File

@ -6,8 +6,8 @@ After=syslog.target network.target
# #
# If you want to make changes to this file, please copy it to # If you want to make changes to this file, please copy it to
# /etc/systemd/system/varnish and make your changes there. # /etc/systemd/system/varnish.service and make your changes there.
# This will override the file kept at /lib/systemd/system/varnish # This will override the file kept at /lib/systemd/system/varnish.service
# #
# Enviroment variables may be found in /etc/varnish/varnish.params # Enviroment variables may be found in /etc/varnish/varnish.params
# #
@ -26,6 +26,7 @@ EnvironmentFile=/etc/varnish/varnish.params
Type=forking Type=forking
PIDFile=/var/run/varnish.pid PIDFile=/var/run/varnish.pid
PrivateTmp=true
ExecStart=/usr/sbin/varnishd \ ExecStart=/usr/sbin/varnishd \
-P /var/run/varnish.pid \ -P /var/run/varnish.pid \
-f $VARNISH_VCL_CONF \ -f $VARNISH_VCL_CONF \

View File

@ -1,7 +1,7 @@
Summary: High-performance HTTP accelerator Summary: High-performance HTTP accelerator
Name: varnish Name: varnish
Version: 3.0.2 Version: 3.0.2
Release: 1%{?dist} Release: 2%{?dist}
License: BSD License: BSD
Group: System Environment/Daemons Group: System Environment/Daemons
URL: http://www.varnish-cache.org/ URL: http://www.varnish-cache.org/
@ -307,6 +307,10 @@ fi
%postun libs -p /sbin/ldconfig %postun libs -p /sbin/ldconfig
%changelog %changelog
* Mon Mar 12 2012 Ingvar Hagelund <ingvar@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@redpill-linpro.com> - 3.0.2-1 * Tue Mar 06 2012 Ingvar Hagelund <ingvar@redpill-linpro.com> - 3.0.2-1
- New upstream version 3.0.2 - New upstream version 3.0.2
- Removed INSTALL as requested by rpmlint - Removed INSTALL as requested by rpmlint