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

rpm: please include either systemd unit or sysvinit script #408

Closed
philfry opened this issue Jun 15, 2023 · 2 comments · Fixed by #409
Closed

rpm: please include either systemd unit or sysvinit script #408

philfry opened this issue Jun 15, 2023 · 2 comments · Fixed by #409

Comments

@philfry
Copy link
Contributor

philfry commented Jun 15, 2023

What feature do you want to see added?

The jenkins rpm comes both with a systemd unit (/usr/lib/systemd/system/jenkins.service) and a sysvinit script (/etc/init.d/jenkins). When starting the daemon using systemctl the systemd unit is called, when using service the sysvinit script runs. Some people use service as a wrapper to call systemd units and don't expect a legacy script to run (if a systemd unit is available).
So please remove the sysvinit script from the rpm for el7 and up as well as for Fedora 15 and up.
Thanks!

Upstream changes

No response

@basil
Copy link
Member

basil commented Jun 15, 2023

This has been a long-standing cleanup task. It should be easy to implement. Are you interested in filing a pull request?

@philfry
Copy link
Contributor Author

philfry commented Jun 15, 2023

Sure, I can take a look next week 👍

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

Successfully merging a pull request may close this issue.

2 participants