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 8aabdff693840626e18067fa0c9b8e5397593864 (commit)
from 877e02a262b3894d8ca56e10b1b95a9ea64d59a7 (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=8aabdff693840626e18067fa0c9b8e5397593864
commit 8aabdff693840626e18067fa0c9b8e5397593864
Author: Franck Villaume <[email protected]>
Date: Wed Jul 20 16:43:45 2016 +0200
externalize sshd restart on post-install
diff --git a/src/post-install.d/shell/shell.sh
b/src/post-install.d/shell/shell.sh
index d2e977b..ff1d1ab 100755
--- a/src/post-install.d/shell/shell.sh
+++ b/src/post-install.d/shell/shell.sh
@@ -162,7 +162,10 @@ configure_sshd()
dir=$(dirname $dir)
if [ -n "$(find $dir -maxdepth 0 -perm -g+w)" ]; then chmod g-w $dir; fi
done
+}
+restart_ssh_service()
+{
service $(forge_get_config ssh_service) restart
}
@@ -182,11 +185,13 @@ case "$1" in
configure_nscd
configure_pam
configure_sshd
+ restart_ssh_service
;;
remove)
remove_nsswitch
remove_pam
remove_sshd
+ restart_ssh_service
;;
purge)
# note: can't be called from Debian's postrm - rely on ucfq(1)
-----------------------------------------------------------------------
Summary of changes:
src/post-install.d/shell/shell.sh | 5 +++++
1 file changed, 5 insertions(+)
hooks/post-receive
--
FusionForge
_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits