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

Service Name must be first argument #102

Open
LajosPolya opened this issue Sep 6, 2018 · 0 comments
Open

Service Name must be first argument #102

LajosPolya opened this issue Sep 6, 2018 · 0 comments

Comments

@LajosPolya
Copy link

LajosPolya commented Sep 6, 2018

If I run the command:

sudo forever-service install -s app/app.js --logrotateFrequency daily --logrotateCompress appService

I receive an "Invalid Arguments!" error.
I looked a little bit into the forever-service bin file and this is caused by "commander" not processing the arguments correctly.

However if I run sudo forever-service install appService -s app/app.js --logrotateFrequency daily --logrotateCompress
then all is well.

One other thing to mention is that if "--logrotateCompress" is removed from the arguments then it doesn't matter where the service name is placed

Note:
I am running Ubuntu 18.04

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant