public inbox for ipfire-scm@lists.ipfire.org
 help / color / mirror / Atom feed
* [git.ipfire.org] IPFire 2.x development tree branch, master, updated. 97469fbdd20c7c47b9d1f2df6b57f60ccda16560
@ 2025-08-23 14:57 Michael Tremer
  0 siblings, 0 replies; only message in thread
From: Michael Tremer @ 2025-08-23 14:57 UTC (permalink / raw)
  To: ipfire-scm

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, master has been updated
       via  97469fbdd20c7c47b9d1f2df6b57f60ccda16560 (commit)
      from  c293ac4b282da94f2d4b7449738c4be2a590c86e (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 97469fbdd20c7c47b9d1f2df6b57f60ccda16560
Author: Adolf Belka <adolf.belka@ipfire.org>
Date:   Sat Aug 23 15:46:09 2025 +0200

    backup.pl: Restart openvpn daemons after restore.
    
    - As the daemons are running when the restore is done then if the daemons are not
       restarted the running daemon stays with the previous config and not with the restored
       version.
    
    Tested-by: Adolf Belka <adolf.belka@ipfire.org>
    Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
    Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>

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

Summary of changes:
 config/backup/backup.pl | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Difference in files:
diff --git a/config/backup/backup.pl b/config/backup/backup.pl
index c9bc14355..e79f510c6 100644
--- a/config/backup/backup.pl
+++ b/config/backup/backup.pl
@@ -349,8 +349,10 @@ restore_backup() {
 		rm /var/log/pakfire.log
 	fi
 
-	# Update the OpenVPN configuration
+	# Update the OpenVPN configuration and restart the openvpn daemons
 	sudo -u nobody /srv/web/ipfire/cgi-bin/ovpnmain.cgi
+	/etc/init.d/openvpn-n2n restart
+	/etc/init.d/openvpn-rw restart
 
 	return 0
 }


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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2025-08-23 14:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-08-23 14:57 [git.ipfire.org] IPFire 2.x development tree branch, master, updated. 97469fbdd20c7c47b9d1f2df6b57f60ccda16560 Michael Tremer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox