summaryrefslogtreecommitdiffstats
path: root/glusterfs.spec.in
diff options
context:
space:
mode:
Diffstat (limited to 'glusterfs.spec.in')
-rw-r--r--glusterfs.spec.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/glusterfs.spec.in b/glusterfs.spec.in
index 09ea4fcafbd..484abd852ef 100644
--- a/glusterfs.spec.in
+++ b/glusterfs.spec.in
@@ -326,6 +326,11 @@ if [ -d /var/lib/glusterd/vols ]; then
done
fi
+# Need to copy the file.
+
+mkdir -p /var/lib/glusterd/groups
+cp %{_docdir}/%{name}-%{version}/group-virt.example /var/lib/glusterd/groups/virt
+
pidof -c -o %PPID -x glusterd &> /dev/null
if [ $? -eq 0 ]; then
kill -9 `pgrep -f gsyncd.py` &> /dev/null