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

start: Job failed to start on ubuntu 14.04 tls #15

Closed vkhazin closed 9 years ago

vkhazin commented 9 years ago
  1. sudo mkdir /var/www/static-content and then cd into the new directory
  2. sudo apt-get install forever-service
  3. sudo forever-service install static-content --script index.js
  4. sudo start static-content
  5. error: start: Job failed to start
arvind-agarwal commented 9 years ago

Have you installed forever?

vkhazin commented 9 years ago

Let me try - thanks for fast response! On Jan 20, 2015 7:58 AM, "arvind-agarwal" notifications@github.com wrote:

Have you installed forever?

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

arvind-agarwal commented 9 years ago

@vkhazin Did it work for you? If yes, please close the issue.

VKhazinGladiator commented 9 years ago

Fixed: by installing 'forever' package using npm: sudo npm install forever -g. My mistake was to assume that 'forever-service' would install 'forever' package as a dependency.

vkhazin commented 9 years ago

I am having a trouble to 'close' the issue - the only way I could find on github to close an issue is to commit something. Any suggestions how do I do that?

On Thu, Jan 22, 2015 at 4:05 AM, arvind-agarwal notifications@github.com wrote:

@vkhazin https://github.com/vkhazin Did it work for you? If yes, please close the issue.

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

Sincerely yours, Vlad Khazin Email: vlad.khazin@icssolutions.ca Skype: vladimir.khazin Cell: 416-802-2771 Fax: 866-425-2660 http://www.linkedin.com/in/vkhazin