Cannot be started on Debian Wheezy
jenschr opened this issue · 2 comments
root@beaglebone:/home/gpio_test# forever-service install -s server.js --start gpiotest
forever-service version 0.5.6
Platform - Debian GNU/Linux 7 (wheezy)
foreverpath not found
runuserpath not found
Invalid arguments!
Usage: forever-service [options] [command]
Commands:
install [options] [service]
Install node script (defaults to app.js in current directory) as service via forever
delete [service]
Delete all provisioned files for the service, will stop service if running before delete
Options:
-h, --help output usage information
-V, --version output the version number
Command help:
forever-service install --help
forever-service delete --help
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_CTYPE = "UTF-8",
LANG = (unset)
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
update-rc.d: using dependency based boot sequencing
gpiotest provisioned successfully
Commands to interact with service gpiotest
Start - "sudo service gpiotest start"
Stop - "sudo service gpiotest stop"
Status - "sudo service gpiotest status"
Restart - "sudo service gpiotest restart"
/etc/init.d/gpiotest: line 61: ./forever: No such file or directory
Starting gpiotest
/etc/init.d/gpiotest: line 79: ./forever: No such file or directory
Service could not be started
I got a little closer. It turns out that the forever package isn't setup as an dependency?
It's still not starting the service, but now I'm only getting this:
root@beaglebone:/home/gpio_test# sudo forever-service install gpiotest -s /home/gpio_test/server.js
forever-service version 0.5.6
Platform - Debian GNU/Linux 7 (wheezy)
runuserpath not found
Could not provision service
Service is already present
I would recommend you can run
sudo forever-service delete gpiotest
and try installing again.