diff options
-rw-r--r-- | glusterfs.spec.in | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/glusterfs.spec.in b/glusterfs.spec.in index 29d07c530c0..27903e4d5aa 100644 --- a/glusterfs.spec.in +++ b/glusterfs.spec.in @@ -818,6 +818,12 @@ fi %firewalld_reload %endif +%if ( 0%{?_with_fbextras:1} ) +if ! [ -f %{_sharedstatedir}/glusterd/glusterd.info ]; then + echo "UUID=$(/usr/bin/uuidgen)" >> %{_sharedstatedir}/glusterd/glusterd.info +fi +%endif + pidof -c -o %PPID -x glusterd &> /dev/null if [ $? -eq 0 ]; then kill -9 `pgrep -f gsyncd.py` &> /dev/null |