-
Notifications
You must be signed in to change notification settings - Fork 65
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 does not start on boot on Raspbian #21
Comments
Also tried setting the command line parameter
on each forever call, without exporting PATH, but it doesn't work |
I have done some changes in 0.4.5 to allow -e env variables to be setup as global variables rather than specific to forever command line. So now you can use -e "PATH=/usr/local/bin:$PATH" as the parameter in forever-service cli to add the PATH variable to your startup script |
@arvind-agarwal it works like a charm! Just updated forever-service and tried it! Awesome job, thank you! |
How to reproduce the error:
Raspbian wheezy on RaspberryPi Model B, with node.js 0.10.36 for ARM got from here: http://node-arm.herokuapp.com/node_0.10.36_armhf.deb, forever 0.14.1 and forever-service 0.4.4.
Run this as root:
Then create this little app:
and install it as a service:
Reboot the raspberry and at boot the service will not get started.
To make it work, the only way I've found so far is to manually edit /etc/init.d/myservice script and add:
before:
The text was updated successfully, but these errors were encountered: