Reply To: Unable to stop mt-daapd 0.2.4 with daemontools


@marlowe wrote:

I tested svn-1498 with daemontools similar to the setup posted for 0.2.4. The server successfully stops with the following command:

# svc -d /service/mt-daapd

However it falls to start successfully with the following error.

Initializing database
Starting web server from /usr/local/share/mt-daapd/admin-root on port 3689
Listen port: Address already in use
Error starting web server: Address already in use

The error message continues to repeat as daemontools tries to restart the service.

A netstat -an confirms the web server does not stop when mt-daapd is stopped. Is there a way to ensure the webserver stops when mt-daapd stops.


Hrm. thought it would have done it. I’ll re-check it though. Platform? And are you linuxthreads or nptl?