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

Gradle task that reports if Tomcat, HSQL is running #333

Open
bjagg opened this issue May 28, 2019 · 2 comments
Open

Gradle task that reports if Tomcat, HSQL is running #333

bjagg opened this issue May 28, 2019 · 2 comments

Comments

@bjagg
Copy link
Member

bjagg commented May 28, 2019

Is your feature request related to a problem? Please describe.
Sometimes we forget if Tomcat or HSQL are running. Other times Tomcat does not stop after running ./gradlew tomcatStop.

Describe the solution you'd like
Given the start and stop tasks for Tomcat and HSQL, I would like a two new tasks that report if those services are currently running.

Describe alternatives you've considered
Currently, I run pgrep -f tomcat and pgrep -f hsql to check if they are running. This does not work on Windows, however.

@jonathanmtran
Copy link
Contributor

I know that there's a check for HSQL as I've forgotten on occasion. It's implemented at https://github.com/Jasig/uPortal-start/blob/master/gradle/tasks/hsql.gradle#L20

@bjagg
Copy link
Member Author

bjagg commented May 28, 2019

Awesome! The we just need to rename it, add a description, then make it public.

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

No branches or pull requests

3 participants