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
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