[10:11] <vpol> hi all
[10:19] <FlyingSquirrel32> If I have a daemon that I start like this: sudo /usr/sbin/mydaemon & then how do I add an init script and be sure that it returns so the rest of the things in init also run?
[10:21] <FlyingSquirrel32> What I've done so far... sudo ln -s /root/syslog2mysql.sh /etc/init.d/syslog2mysql  
[10:21] <FlyingSquirrel32> sudo update-rc.d syslog2mysql default 99
[10:21] <FlyingSquirrel32> sudo chmod 700 /root/syslog2mysql.sh
[10:35] <FlyingSquirrel32> then I run it using sudo /etc/init.d/syslog2mysql  It looks like it worked, but it doesn't return, which is a problem when rebooting because the whole system hangs.
[11:02] <FlyingSquirrel32> nevermind, i just put it in rc.local