Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package varnish for openSUSE:Factory checked 
in at 2022-09-19 16:03:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/varnish (Old)
 and      /work/SRC/openSUSE:Factory/.varnish.new.2083 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "varnish"

Mon Sep 19 16:03:15 2022 rev:39 rq:1004579 version:7.1.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/varnish/varnish.changes  2022-08-12 
16:07:32.415631772 +0200
+++ /work/SRC/openSUSE:Factory/.varnish.new.2083/varnish.changes        
2022-09-19 16:03:20.262150514 +0200
@@ -1,0 +2,11 @@
+Mon Sep 19 02:44:04 UTC 2022 - Bernhard Wiedemann <bwiedem...@suse.com>
+
+- Fix varnish.service stop
+
+-------------------------------------------------------------------
+Sun Sep 18 03:26:45 UTC 2022 - Bernhard Wiedemann <bwiedem...@suse.com>
+
+- Fix logrotate
+- Add service reload
+
+-------------------------------------------------------------------

New:
----
  varnish_reload_vcl

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ varnish.spec ++++++
--- /var/tmp/diff_new_pack.CgRAt6/_old  2022-09-19 16:03:20.882152171 +0200
+++ /var/tmp/diff_new_pack.CgRAt6/_new  2022-09-19 16:03:20.890152192 +0200
@@ -37,6 +37,7 @@
 Source5:        varnish.logrotate
 Source7:        varnish.service
 Source8:        varnishlog.service
+Source9:        varnish_reload_vcl
 Patch1:         varnish-5.1.2-add-fallthrough-comments.patch
 Patch2:         uninit.patch
 BuildRequires:  libxslt-devel
@@ -120,6 +121,7 @@
 mkdir -p "$b/%_sbindir"
 ln -s service "$b/%_sbindir/rcvarnish"
 ln -s service "$b/%_sbindir/rcvarnishlog"
+install -Dpm 0755 "%SOURCE9" "$b/%_sbindir/varnish_reload_vcl"
 #
 ##config files
 mkdir -p "$b/%_sysconfdir/%name"

++++++ varnish.logrotate ++++++
--- /var/tmp/diff_new_pack.CgRAt6/_old  2022-09-19 16:03:20.934152310 +0200
+++ /var/tmp/diff_new_pack.CgRAt6/_new  2022-09-19 16:03:20.938152320 +0200
@@ -5,7 +5,7 @@
     sharedscripts
     delaycompress
     postrotate
-        /etc/init.d/varnish reload
+        /usr/bin/systemctl restart varnishlog
     endscript
 }
 

++++++ varnish.service ++++++
--- /var/tmp/diff_new_pack.CgRAt6/_old  2022-09-19 16:03:20.962152385 +0200
+++ /var/tmp/diff_new_pack.CgRAt6/_new  2022-09-19 16:03:20.966152395 +0200
@@ -19,6 +19,8 @@
 EnvironmentFile=/etc/sysconfig/varnish
 PIDFile=/var/run/varnishd.pid
 ExecStart=/usr/sbin/varnishd -P /var/run/varnishd.pid -F $VARNISHD_PARAMS
+ExecReload=/usr/sbin/varnish_reload_vcl
+KillMode=mixed
 
 [Install]
 WantedBy=multi-user.target

++++++ varnish_reload_vcl ++++++
#!/bin/bash

# Generate a unique timestamp ID for this version of the VCL
TIME=$(date +%s)

vadm="varnishadm -S /var/cache/varnish/varnishd/_.secret -T 127.0.0.1:6082"
# Load the file into memory
$vadm vcl.load varnish_$TIME /etc/varnish/vcl.conf

# Active this Varnish config
$vadm vcl.use varnish_$TIME

Reply via email to