Hi guys, I'm building a Debian package of a NodeJS application at work. The toolchain I'm using is dh_make to create initial package skeleton and 'git buildpackage' to make the package (invokes debuild under the hood).
The application is an HTTP server to be launched on server startup, so I used the init.d.ex and init.d.lsb.ex templates generated by dh_make, removed the .ex extension and made sure that the debian/rules file invoked dh_installinit. (also, what's the reason for there being two init.d script flavours?) The package is created successfully, but when the installation starts the service the installation hangs. I'm guessing that I have to control the daemonization of my service myself (I had assumed that the boilerplate generated by dh_make or start-stop-daemon would have taken care of it). So can someone correct me if I'm incorrect in thinking that I need to control the daemonization of the process by myself? Any help much appreciated, -- James -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
