1

xinetd cannot launch lighttpd

view story
linux-howto

http://unix.stackexchange.com – I want to launch lighttpd when someone tries to connect to port 80. I started with a simple test script to see if anything was working: /etc/xinetd.d/www service www { disable = no socket_type = stream protocol = tcp port = 80 log_on_success += USERID log_on_failure += USERID server = /usr/server_test.sh user = root instances = UNLIMITED wait = no log_type = SYSLOG daemon debug } where /usr/server_test.sh: #!/bin/sh echo "www connection" lighttpd -D -f /usr/lighttpd.con (HowTos)