I'd ask you the inverse, why would you reinvent the service function of windows or *nix daemons in node? It's there, it is easy to use, the OS comes with it. These things do a pretty good job starting the service when booting, and trying to restart when it exist according the exit status.
2013/1/12 犀利な天使 <[email protected]> > What benefits in installing as service? That needs administrative rights, > but this is too.. > > > 2013/1/13 José F. Romaniello <[email protected]> > > For windows I use nssm, I wrote this thing to make it easy to install >> node apps >> >> https://github.com/jfromaniello/winser >> >> El sábado, 12 de enero de 2013, 犀利な天使 escribió: >> >>> Unfortunately, "forever" not working on windows :( >>> But i think it may be usefull with --watchDirectory argument and >>> ".foreverignore" file in. >>> And i hope this is also works: >>> -c "node --harmony" >>> >>> Too many conditions.. >>> >>> 2013/1/13 Faysal Banna <[email protected]> >>> >>>> forever start -a -w app.js >>> >>> >>> >>> -- >>> Job Board: http://jobs.nodejs.org/ >>> Posting guidelines: >>> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines >>> You received this message because you are subscribed to the Google >>> Groups "nodejs" group. >>> To post to this group, send email to [email protected] >>> To unsubscribe from this group, send email to >>> [email protected] >>> For more options, visit this group at >>> http://groups.google.com/group/nodejs?hl=en?hl=en >>> >> -- >> Job Board: http://jobs.nodejs.org/ >> Posting guidelines: >> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines >> You received this message because you are subscribed to the Google >> Groups "nodejs" group. >> To post to this group, send email to [email protected] >> To unsubscribe from this group, send email to >> [email protected] >> For more options, visit this group at >> http://groups.google.com/group/nodejs?hl=en?hl=en >> > > -- > Job Board: http://jobs.nodejs.org/ > Posting guidelines: > https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines > You received this message because you are subscribed to the Google > Groups "nodejs" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/nodejs?hl=en?hl=en > -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
