uPortal-Project / uPortal-start

CLI tools for implementing uPortal, beginning with version 5.0.0
Apache License 2.0
19 stars 53 forks source link

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

Open bjagg opened 5 years ago

bjagg commented 5 years ago

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 commented 5 years ago

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 commented 5 years ago

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