Skip to content

Instantly share code, notes, and snippets.

@craigw
Created July 20, 2009 19:38
Show Gist options
  • Save craigw/150825 to your computer and use it in GitHub Desktop.
Save craigw/150825 to your computer and use it in GitHub Desktop.
#!/bin/sh
# This is /home/starling/service/run
exec 2>&1
echo "Starting..."
PORT=22122
IP=0.0.0.0
USER=starling
HOME=/home/starling
exec setuidgid $USER \
starling -v -v -v -h $IP -p $PORT -P $HOME/starling.pid -q $HOME/queue 2>&1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment