Hi Tito! :-) On 1/27/06, Tito Mari Francis Escaño <[EMAIL PROTECTED]> wrote: > Recently, I tried out Debian 3.1 and I liked the net installation > procedure, reminding me of the joy (or pain!) of installing OpenBSD. > By default GCC is installed so I was about to compile my apps when I > was surprised not to find my old friend "/etc/rc.local". > I'm not very well versed in writing daemon startup scripts for > "/etc/rc.d/init.d/" in my old distro so I find "/etc/rc.local" a > convenient way to start it up fast without digging deep on daemon > start and stop scripts. > How do I start custom compiled daemons in Debian? Any pointers please?
You'll have to register your initscript (which should now be in /etc/init-d) using update-rc.d(8). For example, if you have a custom Apache2 installed with its initscript in /etc/init.d/apache2, you would then invoke [EMAIL PROTECTED]:~ $ sudo update-rc.d defaults which would then register the initscript to start at runlevels 2,3,4, and 5, and stop at runlevels 0,1, and 6. See update-rc.d(8) for more details. And while at the topic of custom compiling, why not just grab the sources from the Debian archive (via apt-get install source,) tweaking each source's debian/rules to suit you, then building with dpkg-buildpackage/debuild to create custom Debian packages? (Of course, that will assume that you know more about how Debian's system works, but I think you'll manage, given that you've already crafted your own script ;) Anyhow, good luck on your customizing! Cheers, Zakame -- Zak B. Elep || http://zakame.spunge.org [EMAIL PROTECTED] || [EMAIL PROTECTED] 1486 7957 454D E529 E4F1 F75E 5787 B1FD FA53 851D
_________________________________________________ Philippine Linux Users' Group (PLUG) Mailing List [email protected] (#PLUG @ irc.free.net.ph) Read the Guidelines: http://linux.org.ph/lists Searchable Archives: http://archives.free.net.ph

