procsd icon indicating copy to clipboard operation
procsd copied to clipboard

Add exec in the service template

Open n4cr opened this issue 6 years ago • 1 comments

After running procsd create the services were not starting and I was receiving:

/bin/bash: -c: option requires an argument

It turns out that an argument is missing after the service file is generated. An exec should be added:

ExecStart=/bin/bash -lc 'exec $BINDIR/gunicorn app.wsgi --log-file=- -b 127.0.0.1:$PORT --log-level DEBUG'

It also the same in Foreman. procsd does not add the exec to the script.

n4cr avatar Jul 29 '19 12:07 n4cr

I just manually added exec to my processes in the Procfile to get it running

n4cr avatar Jul 29 '19 12:07 n4cr