Skip to content

Commit

Permalink
centos use sysvinit as the init
Browse files Browse the repository at this point in the history
StarlingX need centos use sysvinit as the init process.

Signed-off-by: Daniel Badea <daniel.badea@windriver.com>
  • Loading branch information
Daniel Badea authored and dtroyer committed Apr 1, 2019
1 parent e3a31fc commit ecbbc1c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/ceph-detect-init/ceph_detect_init/centos/__init__.py
Expand Up @@ -8,6 +8,5 @@ def choose_init():
Returns the name of a init system (upstart, sysvinit ...).
"""
if release and int(release.split('.')[0]) >= 7:
return 'systemd'
# Don't use systemd
return 'sysvinit'

1 comment on commit ecbbc1c

@changchengx
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No need to upstream. Specifically for StarlingX

Please sign in to comment.