start-stop-daemon incorrect pid

Rory Vieira rory.vieira at gmail.com
Mon Aug 28 14:43:42 UTC 2006


Hi,

now that I've built the basic initramfs (from buildroot), I'm writing
scripts to start/stop services.

I'm trying to use start-stop-daemon to do this:

start-stop-daemon -S -x /usr/sbin/telnetd -m /var/run/telnetd.pid -p
/var/run/telnetd.pid

When checking the pid file, I noticed that the wrong pid is entered
(usually two less that it should be).
How can I come around this?

-- 
Rory Vieira
rory dot vieira at gmail dot com



More information about the busybox mailing list