Update to glusterfs-10
The spec file is changed based with which exacted from glusterfs-10.0.tar.gz. Following changes are made: * make variable _with_systemd true as default * make variable _usepython3 as 1 * make variable _pythonver as 2 * remove fedora_koji_builds judgements * add new BuildRequires: rpcgen gperftools-devel libunwind-devel * update source0 to following address https://download.gluster.org/pub/gluster/glusterfs/10/10.0/glusterfs-10.0.tar.gz Signed-off-by: Wenchao Hao <haowenchao@huawei.com>
This commit is contained in:
parent
771b90bd59
commit
4cc8690f81
BIN
glusterfs-10.0.tar.gz
Normal file
BIN
glusterfs-10.0.tar.gz
Normal file
Binary file not shown.
Binary file not shown.
1753
glusterfs.spec
1753
glusterfs.spec
File diff suppressed because it is too large
Load Diff
@ -1,17 +0,0 @@
|
||||
[Unit]
|
||||
Description=GlusterFS brick processes (stopping only)
|
||||
After=network.target glusterd.service
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
# glusterd starts the glusterfsd processed on-demand
|
||||
# /bin/true will mark this service as started, RemainAfterExit keeps it active
|
||||
ExecStart=/bin/true
|
||||
RemainAfterExit=yes
|
||||
# if there are no glusterfsd processes, a stop/reload should not give an error
|
||||
ExecStop=/bin/sh -c "/bin/killall --wait glusterfsd || /bin/true"
|
||||
ExecReload=/bin/sh -c "/bin/killall -HUP glusterfsd || /bin/true"
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user