title: How to start Java program as a daemon using Jsvc
body: <p>I am using Jsvc to start a java program that implements the Daemon interface. However when I issue the command </p>
  
  <pre><code>/usr/bin/jsvc -user walikha -home $JAVE_HOME -outfile out.file -errfile '$1'   Jooist.Server.jar Main
  </code></pre>
  
  <p>However the command silently executes and displays the prompt. How can I detect if the daemon is running? In the Java executable the  init, start, stop and destroy functions just print to a log file using Log4J. The log file is not created and there is absolutely no indication that the service is running. Am I missing something, or have I left out something when configuring and installing Jsvc?</p>