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

Update the Linux service scripts to use systemd services instead of init.d #447

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

Conversation

RishiKumarRay
Copy link

Fixed #426

@CLAassistant
Copy link

CLAassistant commented Mar 2, 2022

CLA assistant check
All committers have signed the CLA.

Copy link
Member

@natechadwick natechadwick left a comment

Choose a reason for hiding this comment

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

@RishiKumarRay
I am not sure that this is the right approach. After changing these scripts, existing installs wouldn't be able to uninstall or install the existing services that are using init.d. Also these start scripts copy shell scripts that are based on init.d format. It may be cleaner to create 3 separate service instal shell scripts for systemd that handles install / uninstall of equivalent systemd service units.

https://www.digitalocean.com/community/tutorials/understanding-systemd-units-and-unit-files

The existing scripts could also be used if we added a prompt for if they want systemd or init.d - but may be easier to just have like install-jetty-service-systemd.sh as a seperate script for example.

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

Successfully merging this pull request may close these issues.

Update the Linux service scripts to use systemd services instead of init.d
3 participants