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
595 stars 65 forks source link

Don't start with system startup on Raspbian #57

Closed timofei-iatsenko closed 8 years ago

timofei-iatsenko commented 8 years ago

Service succesfully start by:

sudo service smarthome start

But don't start when system reboot. I checked up rc.d folders and all was correct. (there is links in rc2-rc5 to script).

Then I try to restart system, and didn't see nothing running in htop.

Logs for this service is empty. Syslog is empty to.

Why it don't start at startup? How to find a reason? May be need to change startup order for service?

My system is: Raspberry PI, arm v7, Raspbian Jessie. NodeJS script depends on SerialPort (usb2serial dongle), and open 80 port. Pi connected to the LAN via WIFI usb adapter.

arvind-agarwal commented 8 years ago

Please look at #21

timofei-iatsenko commented 8 years ago

Yes, it works. Thanks. You should add it to FAQ or readme