[Fusionforge-commits] FusionForge branch master updated. 6.0.4-731-gfaebd71

Franck Villaume nerville at libremir.placard.fr.eu.org
Wed Jul 20 16:50:53 CEST 2016


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 "FusionForge".

The branch, master has been updated
       via  faebd71d842a15016800aabeae4f1330540f41bb (commit)
      from  5426170841161b6389443af1a72c1ac170488e75 (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 -----------------------------------------------------------------
https://scm.fusionforge.org/anonscm/gitweb/?p=fusionforge/fusionforge.git;a=commitdiff;h=faebd71d842a15016800aabeae4f1330540f41bb

commit faebd71d842a15016800aabeae4f1330540f41bb
Author: Franck Villaume <franck.villaume at trivialdev.com>
Date:   Wed Jul 20 16:50:49 2016 +0200

    externalize restart of service

diff --git a/src/post-install.d/web/web.sh b/src/post-install.d/web/web.sh
index dfe9797..3d7e09e 100755
--- a/src/post-install.d/web/web.sh
+++ b/src/post-install.d/web/web.sh
@@ -141,6 +141,10 @@ case "$1" in
 	    sed -i 's/^NameVirtualHost \*:80/#&/' /etc/apache2/ports.conf
 	fi
 
+        $0 servicerestart
+        ;;
+
+    servicerestart)
 	# Start web server on boot
 	if [ -x /sbin/chkconfig ]; then
 	    chkconfig $apache_service on
@@ -170,7 +174,7 @@ case "$1" in
 	;;
 
     *)
-	echo "Usage: $0 {configure|remove|purge|update-defines}"
+	echo "Usage: $0 {configure|remove|purge|update-defines|servicerestart}"
 	exit 1
 	;;
 esac

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

Summary of changes:
 src/post-install.d/web/web.sh | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list