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

service installs but does not start automatically on reboot #34

Closed rawmean closed 9 years ago

rawmean commented 9 years ago

I am able to install the service successfully, but upon reboot, the service does not start automatically. I can run the service manually after reboot with no problem.

[update] Looking at the logs, I can see that upon reboot, it attempted to start the script but it got stuck and failed.

pi@raspberrypi ~/homebridge $ sudo forever-service install myHomeBridge
forever-service version 0.5.3

Platform - Raspbian GNU/Linux 7 (wheezy)
update-rc.d: using dependency based boot sequencing
myHomeBridge provisioned successfully

Here are the versions:

pi@raspberrypi ~ $ forever --version
v0.15.1
pi@raspberrypi ~ $ forever-service --version
forever-service version 0.5.3

0.5.3
arvind-agarwal commented 9 years ago

Please look at #21

arvind-agarwal commented 9 years ago

@rawmean can you confirm if #21 solves your issue?

rawmean commented 9 years ago

Thanks for the followup. I haven’t had a chance to try it. Planning to try this weekend. Will report back.

On Aug 18, 2015, at 8:01 AM, Arvind Agarwal notifications@github.com wrote:

@rawmean https://github.com/rawmean can you confirm if #21 https://github.com/zapty/forever-service/issues/21 solves your issue?

— Reply to this email directly or view it on GitHub https://github.com/zapty/forever-service/issues/34#issuecomment-132240767.

rawmean commented 9 years ago

It works perfectly now. Thanks much!

On Aug 18, 2015, at 8:01 AM, Arvind Agarwal notifications@github.com wrote:

@rawmean https://github.com/rawmean can you confirm if #21 https://github.com/zapty/forever-service/issues/21 solves your issue?

— Reply to this email directly or view it on GitHub https://github.com/zapty/forever-service/issues/34#issuecomment-132240767.