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

duplicate init files on rhel7 and rhel6 #569

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

erezzarum
Copy link

On RHEL6 both upstart and init.d were configured.
On RHEL7 both systemd and init.d were configured.
I also believe there is no need for using upstart on RHEL6, If you think there's a use for that, i'll fix my pull request.

- systemd >= rhel7
- init.d <= rhel6
- removed upstart.
elif distro_major_version >= 6 and not distro == 'debian':
data_files.append(('/etc/init',
['rpm/upstart/diamond.conf']))
elif distro_major_version <= 6 and not distro == 'debian':
Copy link
Member

Choose a reason for hiding this comment

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

this should probably be an else, otherwise debian will not get an init file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants