Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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