From 5d912230a7d4f9979c10ff15da724624bd8e069d Mon Sep 17 00:00:00 2001 From: Aravinda VK Date: Wed, 27 May 2015 11:56:53 +0530 Subject: scripts: Added script stop-all-gluster-processes.sh in rpm This script was not included as part of rpm. Fixed now BUG: 1204641 Change-Id: I5e559b187253cc2f4f8ea7cf8ec56a32802e5ab2 Signed-off-by: Aravinda VK Reviewed-on: http://review.gluster.org/10931 Reviewed-by: Kotresh HR Tested-by: Gluster Build System Reviewed-by: Kaleb KEITHLEY --- extras/Makefile.am | 5 +++-- glusterfs.spec.in | 6 ++++++ 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/extras/Makefile.am b/extras/Makefile.am index 888c12ec38a..d54f7507210 100644 --- a/extras/Makefile.am +++ b/extras/Makefile.am @@ -14,14 +14,15 @@ conf_DATA = glusterfs-logrotate gluster-rsyslog-7.2.conf gluster-rsyslog-5.8.con voldir = $(sysconfdir)/glusterfs vol_DATA = glusterd.vol scriptsdir = $(datadir)/glusterfs/scripts -scripts_DATA = post-upgrade-script-for-quota.sh pre-upgrade-script-for-quota.sh +scripts_DATA = post-upgrade-script-for-quota.sh \ + pre-upgrade-script-for-quota.sh stop-all-gluster-processes.sh EXTRA_DIST = $(conf_DATA) specgen.scm glusterfs-mode.el glusterfs.vim \ migrate-unify-to-distribute.sh backend-xattr-sanitize.sh backend-cleanup.sh \ disk_usage_sync.sh clear_xattrs.sh glusterd-sysconfig glusterd.vol \ post-upgrade-script-for-quota.sh pre-upgrade-script-for-quota.sh \ command-completion/gluster.bash command-completion/Makefile \ - command-completion/README + command-completion/README stop-all-gluster-processes.sh install-data-local: if [ -n "$(tmpfilesdir)" ]; then \ diff --git a/glusterfs.spec.in b/glusterfs.spec.in index dd799ce677f..0ed29ff2a66 100644 --- a/glusterfs.spec.in +++ b/glusterfs.spec.in @@ -1197,12 +1197,18 @@ fi %ghost %dir %attr(0755,-,-) %{_sharedstatedir}/glusterd/nfs/run %ghost %attr(0600,-,-) %{_sharedstatedir}/glusterd/nfs/run/nfs.pid +# Extra utility script +%{_datadir}/glusterfs/scripts/stop-all-gluster-processes.sh + # Incrementalapi %{_libexecdir}/glusterfs/glusterfind %{_bindir}/glusterfind %changelog +* Wed May 27 2015 Aravinda VK +- Added stop-all-gluster-processes.sh in glusterfs-server section (#1204641) + * Wed May 20 2015 Kaleb S. KEITHLEY - python-gluster should be 'noarch' (#1219954) -- cgit