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

start: Unknown job: #37

Closed filipvh closed 9 years ago

filipvh commented 9 years ago

After successfully ceating a Service on Ubuntu 14.04.3 LTS,

forever-service version 0.5.4

Platform - Ubuntu 14.04.3 LTS runuserpath not found grotteke provisioned successfully

Commands to interact with service grotteke Start - "sudo start grotteke" Stop - "sudo stop grotteke" Status - "sudo status grotteke" Restart - "sudo restart grotteke"

I get:

sudo start grotteke start: Unknown job: grotteke

arvind-agarwal commented 9 years ago

Please share contents of /etc/init/grotteke.conf file.

filipvh commented 9 years ago

I think I found what makes it break :) Original command : sudo forever-service install grotteke -s /home/filip/beta/Het\ Grotteke/bin/www New command : sudo forever-service install grotteke -s /home/filip/beta/t/bin/www The space in "Het Grotteke" (or Het\ Grotteke) makes the difference. I know spaces in file-trees are evil to some, but evil happens :p