I use Jsvc to run a java program that implements the Daemon interface. However, when I issue the command
/usr/bin/jsvc -user walikha -home $JAVE_HOME -outfile out.file -errfile '$1' Jooist.Server.jar Main
However, the team silently executes and prompts. How to determine if a daemon is working? In the Java executable, the init, start, stop and destroy functions are simply printed in the log file using Log4J. A log file is not created, and there is no indication that the service is running. Am I missing something or am I missing something while setting up and installing Jsvc?
source share