Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.1:Rings:2-TestDVD
ceph
0028-Use-sysV-init-script-directly.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0028-Use-sysV-init-script-directly.patch of Package ceph
From: Owen Synge <osynge@suse.com> Date: Tue, 3 Feb 2015 17:58:09 +0100 Subject: [PATCH] Use sysV init script directly ceph-disk:SLE11sp3 /sbin/service cannot take paramteres that start with '--' so use the init script directly. Signed-off-by: Owen Synge <osynge@suse.com> (cherry picked from commit fff38a0f18d1986f63a31e26d2b84749adab88af) --- src/ceph-disk | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/ceph-disk b/src/ceph-disk index fb12b9b..5c7959f 100755 --- a/src/ceph-disk +++ b/src/ceph-disk @@ -1862,14 +1862,9 @@ def start_daemon( ], ) elif os.path.exists(os.path.join(path, 'sysvinit')): - if os.path.exists('/usr/sbin/service'): - svc = '/usr/sbin/service' - else: - svc = '/sbin/service' command_check_call( [ - svc, - 'ceph', + '/etc/init.d/ceph', '--cluster', '{cluster}'.format(cluster=cluster), 'start',
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor