New answers tagged supervisord
I am convinced that this issue is a packaging bug in the Supervisor package in Ubuntu 16.04 and it seems to have been caused by the switch to systemd: This issue was already reported upstream on the Supervisor project's issue tracker (where nothing can be fixed) in issue 735. I was bitten by this issue a few days ago and was astonished to find that this ...
What Munir mentioned is exactly how you do this. Basically you create a service file, and start it 30 times. Now that may seem a little unweildy, but it has advantages, such as being able to shut one of them down if it's misbehaving, and not have to shut all of them down. There are also some things you can do to make management easier. First, the unit file. ...
Use exec to replace bash with java: [program:programname] command=bash -c "source /path/to/env/file && exec java -jar /path/to/jar.jar" In such a case you will have only one process to be killed.
Make the command instead a shell script that replaces itself with the java? #!/bin/bash source /i/pity/da/env/foo exec java ...
Top 50 recent answers are included