public inbox for ipfire-scm@lists.ipfire.org
 help / color / mirror / Atom feed
From: "Peter Müller" <git@ipfire.org>
To: ipfire-scm@lists.ipfire.org
Subject: [git.ipfire.org] IPFire 2.x development tree branch, next, updated. b029818d1ad011837dee87724c1bad8762368833
Date: Sun, 18 Sep 2022 20:25:21 +0000	[thread overview]
Message-ID: <4MVzns5MqZz2xpk@people01.haj.ipfire.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 2532 bytes --]

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "IPFire 2.x development tree".

The branch, next has been updated
       via  b029818d1ad011837dee87724c1bad8762368833 (commit)
       via  492c9fb64b8744fca6a8f403dd3741f12a417397 (commit)
      from  79fb08749b6d9304818d3bada92302cdfab682c0 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit b029818d1ad011837dee87724c1bad8762368833
Author: Peter Müller <peter.mueller(a)ipfire.org>
Date:   Sun Sep 18 20:24:50 2022 +0000

    Core Update 171: Stop and restart collectd
    
    Signed-off-by: Peter Müller <peter.mueller(a)ipfire.org>

commit 492c9fb64b8744fca6a8f403dd3741f12a417397
Author: Peter Müller <peter.mueller(a)ipfire.org>
Date:   Sun Sep 18 20:21:24 2022 +0000

    Fix restarting Squid and OpenVPN during Core Update 171
    
    My fault, again. :-/
    
    Signed-off-by: Peter Müller <peter.mueller(a)ipfire.org>

-----------------------------------------------------------------------

Summary of changes:
 config/rootfiles/core/171/update.sh | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

Difference in files:
diff --git a/config/rootfiles/core/171/update.sh b/config/rootfiles/core/171/update.sh
index 48fd742b5..86efc8afc 100644
--- a/config/rootfiles/core/171/update.sh
+++ b/config/rootfiles/core/171/update.sh
@@ -34,8 +34,10 @@ done
 # Stop services
 /etc/rc.d/init.d/apache stop
 /etc/rc.d/init.d/squid stop
-/etc/rc.d/init.d/openvpn stop
+/usr/local/bin/openvpnctrl -k
+/usr/local/bin/openvpnctrl -kn2n
 /etc/rc.d/init.d/ipsec stop
+/etc/rc.d/init.d/collectd stop
 
 # Remove files
 rm -rvf \
@@ -149,14 +151,16 @@ ldconfig
 /usr/local/bin/filesystem-cleanup
 
 # Start services
+/etc/rc.d/init.d/collectd start
 /etc/rc.d/init.d/apache start
 if grep -q "ENABLED=on" /var/ipfire/ovpn/settings; then
-	/etc/init.d/openvpn start
+	/usr/local/bin/openvpnctrl -s
+	/usr/local/bin/openvpnctrl -sn2n
 fi
 if grep -q "ENABLED=on" /var/ipfire/vpn/settings; then
 	/etc/init.d/ipsec start
 fi
-if -f /var/ipfire/proxy/enable; then
+if [ -f /var/ipfire/proxy/enable ]; then
 	/etc/init.d/squid start
 fi
 


hooks/post-receive
--
IPFire 2.x development tree

                 reply	other threads:[~2022-09-18 20:25 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4MVzns5MqZz2xpk@people01.haj.ipfire.org \
    --to=git@ipfire.org \
    --cc=ipfire-scm@lists.ipfire.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox