zapty / forever-service

Provision node script as a service via forever, allowing it to automatically start on boot, working across various Linux distros and OS
https://github.com/zapty/forever-service
MIT License
594 stars 65 forks source link

How to start grunt on startup using this script #38

Closed hbzhang closed 8 years ago

hbzhang commented 8 years ago

Thanks for this good piece of work. If we use grunt to start a complex app. And what we do is to start the app using "grunt" in the root app directory. How we can use this script? I think this script assumes we have app.js or some other js file as a starting point, right?

arvind-agarwal commented 8 years ago

You can always give path of grunt cli for the script.