Search
j0ke.net Open Build Service
>
Projects
>
virtualization
:
Cloud
:
glusterfs:3.4.1
>
glusterfs
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 9
[-]
[+]
Changed
glusterfs.spec
@@ -581,7 +581,7 @@ %post geo-replication #restart glusterd. if [ $1 -ge 1 ]; then - %_init_restart glusterd + %_init_restart glusterd || : fi %files geo-replication @@ -708,8 +708,8 @@ %post server # Legacy server -%_init_enable glusterd -%_init_enable glusterfsd +%_init_enable glusterd || : +%_init_enable glusterfsd || : # Genuine Fedora (and EPEL) builds never put gluster files in /etc; if # there are any files in /etc from a prior gluster.org install, move them @@ -740,32 +740,32 @@ rm -f /etc/ld.so.conf.d/glusterfs.conf /sbin/ldconfig fi -pidof -c -o %PPID -x glusterd &> /dev/null +pidof -c -o %PPID -x glusterd &> /dev/null || : if [ $? -eq 0 ]; then - kill -9 `pgrep -f gsyncd.py` &> /dev/null + kill -9 `pgrep -f gsyncd.py` &> /dev/null || : - killall glusterd &> /dev/null - glusterd --xlator-option *.upgrade=on -N + killall glusterd &> /dev/null || : + glusterd --xlator-option *.upgrade=on -N || : else - glusterd --xlator-option *.upgrade=on -N + glusterd --xlator-option *.upgrade=on -N || : fi %preun server if [ $1 -eq 0 ]; then if [ -f %_init_glusterfsd ]; then - %_init_stop glusterfsd + %_init_stop glusterfsd || : fi %_init_stop glusterd if [ -f %_init_glusterfsd ]; then - %_init_disable glusterfsd + %_init_disable glusterfsd || : fi - %_init_disable glusterd + %_init_disable glusterd || : fi if [ $1 -ge 1 ]; then if [ -f %_init_glusterfsd ]; then - %_init_restart glusterfsd + %_init_restart glusterfsd || : fi - %_init_restart glusterd + %_init_restart glusterd || : fi %changelog