-
Notifications
You must be signed in to change notification settings - Fork 40
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
A systemd example, #Issue 193 #194
base: main
Are you sure you want to change the base?
Conversation
So for shutdown if we wanted to have
We would need to copy the jboss-cli.sh from the the aritfcats over to Or maybe shutdown should be using the Thinking about this more should there me like a |
@codylerum , if your wildfly service contains the core-tools layer (that you can explicitly include and is included in datasources-web-server, jaxrs-server and cloud-server) you could start jboss-cli.sh from /opt/wildfly-bootable/wildfly/bin/jboss-cli.sh |
@jfdenise We expanded on this a bit so that we can easily have multiple bootable services on a server. if your service was called myapp then you have a conf file to hold some JVM opts and such. /opt/wildfly-bootable/myapp/wildfly.conf
You end with
|
@jfdenise This can probably be closed so it isn't cluttering up dashboards. |
@codylerum , that is currently the only source of information for a systemd integration. Shouldn't we instead evolve this PR with the shutdown script (that you mentioned) and merge it? |
@jfdenise We can I just didn't know if there was any interest in having it merged. It has been in my mentioned PR dashboard for 2 years 😉 |
Is there something that needs to be done here to move this forward? |
@codylerum, would you be ok to contribute your systemd integration instead of the POC that this PR brings? So we would merge yours and close this one. |
@jfdenise Sure, should I do a seperate PR or do you just want to adapt this? |
Feel free to open a new PR, we will close this one. |
A simple example of making a bootable JAR a systemd service that you can start/shutdown.