diff options
Diffstat (limited to 'glusterfs.spec.in')
| -rw-r--r-- | glusterfs.spec.in | 5 | 
1 files changed, 3 insertions, 2 deletions
diff --git a/glusterfs.spec.in b/glusterfs.spec.in index bda103b0bc8..5735c6b2733 100644 --- a/glusterfs.spec.in +++ b/glusterfs.spec.in @@ -299,8 +299,9 @@ fi  %if 0%{?_can_georeplicate}  %if 0%{!?_without_georeplication:1}  %post geo-replication -#restart glusterd. -%{_sysconfdir}/init.d/glusterd restart &> /dev/null +if [ $1 -ge 1 ]; then +    /sbin/service glusterd condrestart &>/dev/null || : +fi  %endif  %if 0%{!?_without_georeplication:1}  | 
