Starting service daemons

Natanael Copa natanael.copa at gmail.com
Tue Mar 27 08:41:51 UTC 2007


On Tue, 2007-03-27 at 09:16 +0200, hinko.kocevar at cetrtapot.si wrote:
> Hello,
> 
> I'm using busybox 1.1.2 with several service daemon compiled in - crond, 
> syslog, klogd, httpd. When I try start any of them with 
> start-stop-daemon (also busybox applet) they are actually not started, 
> but start-stop-daemon doen't fail either - nett result is that ps 
> doesn't show the binary running and service is not available.
> 
> examples:
> start-stop-daemon --start -x /sbin/crond -- -c /etc/crontab
> start-stop-daemon --start -x /sbin/httpd -- -c /etc/httpd.conf -h /www/pages
> 
> Starting the daemon wo start-stop-daemon works fine.

You can't use start-stop-daemon -x with busybox applets. (ssd will check
up /proc/<pid>/exe which will point to busybox. ssd correctly reports
that "busybox" is already running)

Use start-stop-daemon -n or with pidfiles.

Natanael Copa




More information about the busybox mailing list