Hi,

Starting from the 1.4.3 source I configured/compiled:

sh configure --enable-start-stop-daemon
make

Now when I run from utils/

./start-stop-daemon --start --exec ../gw/bearerbox -- 
../kannel.config/kannel.conf
It works fine but executes in the shell.


When I run with --backgorund it returns to the prompt and nothing happens. 
./start-stop-daemon --start --background --exec ../gw/bearerbox -- 
../kannel.config/kannel.conf
(Verified with lsof -i -n, as well as http admin interface fails to connect, 
unlike the non "--background" attempt))


Doing web search for a solution, I see many similar examples, though some use 
run_kannel_box instead of directly calling the bearebox.
On further investigation I noticed that it's actualy the same result when I 
simply run from gw/:

./bearerbox ../kannel.config/kannel.conf (works fine)
and
./bearerbox -d ../kannel.config/kannel.conf (nothing happens)



Does anyone know what I'm missing?

Thanks,
Brian

Reply via email to