vifreefly/procsd

Add exec in the service template

Opened this issue · 1 comments

n4cr commented

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 commented

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