Skip to content

Commit

Permalink
0001224: symmetric service wrapper - might be useful to see PIDs like…
Browse files Browse the repository at this point in the history
… the control center
  • Loading branch information
erilong committed May 24, 2014
1 parent 519d9c0 commit 7d9d63f
Showing 1 changed file with 6 additions and 1 deletion.
Expand Up @@ -222,8 +222,13 @@ public void restart() {
}

public void status() {
boolean isRunning = isRunning();
System.out.println("Installed: " + isInstalled());
System.out.println("Running: " + isRunning());
System.out.println("Running: " + isRunning);
if (isRunning) {
System.out.println("Wrapper PID: " + readPidFromFile(config.getWrapperPidFile()));
System.out.println("Server PID: " + readPidFromFile(config.getServerPidFile()));
}
}

public boolean isRunning() {
Expand Down

0 comments on commit 7d9d63f

Please sign in to comment.