Skip to content

Instantly share code, notes, and snippets.

@benspaulding
Created May 14, 2009 02:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save benspaulding/111444 to your computer and use it in GitHub Desktop.
Save benspaulding/111444 to your computer and use it in GitHub Desktop.
#!/bin/sh
echo Starting lighttpd
# What does this do?
exec 2>&1
# Is there a reason for doing this rather than ``exec /etc/init.d/nginx start`` ?
exec /usr/sbin/lighttpd -D -f /etc/lighttpd/lighttpd.conf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment