Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add exec in the service template #5

Open
n4cr opened this issue Jul 29, 2019 · 1 comment
Open

Add exec in the service template #5

n4cr opened this issue Jul 29, 2019 · 1 comment
Labels
enhancement New feature or request

Comments

@n4cr
Copy link

n4cr commented Jul 29, 2019

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
Copy link
Author

n4cr commented Jul 29, 2019

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

@vifreefly vifreefly added the enhancement New feature or request label Sep 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants