palantir/go-java-launcher

Output progress of start command

ash211 opened this issue · 0 comments

What happened?

In my product, a sysadmin manually starts a "bootvisor" service using ./service/bin/init.sh start from an extracted tarball. Currently they get no output that the service started, so I'd like to give them some output.

Current

$ ./service/bin/init.sh start
$

Did it start? Did it fail on startup? Unknown

Proposed

$ ./service/bin/init.sh start
Started.
$

This doesn't have to happen all the time, I'd be happy to put it behind a flag for just this one service.

I first looked at sls-packaging, but the init.sh start script there just delegates to this go java launcher: https://github.com/palantir/sls-packaging/blob/587e544f6e8aad549d2567da5dba8dad61f5799d/gradle-sls-packaging/src/main/resources/init.sh#L60