Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jewel: build/ops: remove SYSTEMD_RUN from initscript #9872

Merged
1 commit merged into from Oct 14, 2016

Commits on Oct 10, 2016

  1. init-radosgw: do not use systemd-run in sysvinit

    `systemd-run` logic in initscripts was introduced because of ticket
    http://tracker.ceph.com/issues/7627.
    
    If we have systemd-based operating system, we should use systemd unit files
    from systemd directory to start/stop ceph daemons.
    Otherwise, `daemon()` from `/etc/init.d/functions` on systemd distro starts service
    in `system.slice` and everything works well.
    
    `systemd-run` can not be run on non-systemd distros, so it's not needed
    on SysV systems.
    
    also, ceph-disk is now able to run the "systemctl"
    to enable and start the ceph-osd, and ceph-deploy is also now
    playing well with systemd when it comes to ceph-mon and ceph-mds
    
    Fixes: http://tracker.ceph.com/issues/16440
    
    Signed-off-by: Vladislav Odintsov <odivlad@gmail.com>
    (cherry picked from commit 1fd4f92)
    odivlad committed Oct 10, 2016
    Copy the full SHA
    cca589f View commit details
    Browse the repository at this point in the history