⚠ This page is served via a proxy. Original site: https://github.com
This service does not collect credentials or authentication data.
Skip to content

duplicate init files on rhel7 and rhel6#569

Open
erezzarum wants to merge 1 commit intopython-diamond:masterfrom
erezzarum:fix/packaging
Open

duplicate init files on rhel7 and rhel6#569
erezzarum wants to merge 1 commit intopython-diamond:masterfrom
erezzarum:fix/packaging

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