title: how to run a java program which was wrapped by python in redhat services
body: <p>I have a python program which is wrapper for Java program. This python program executes the Java program. When I run this python program it works normally but when I run this as a red hat services it skips the java program and just runs the python program. When it has to run the java program it just prints 0 in the terminal. is it because Redhat services wont start another pid in the daemon mode? Please help me</p>
  
  <p>This is the Redhat service code which runs the  /www/StartValidator.sh</p>
  
  <pre><code>[Unit]
  Description=Message Broker Service
  [Service]
  Type=Simple
  User=mbobbili
  ExecStart=/bin/bash /www/StartValidator.sh
  Restart=always
  RestartSec=3
  [Install]
  WantedBy=multi-user.target
  </code></pre>