view src/sat.sh @ 225:fd9b7834d98a

distutils installation script, draft
author Goffi <goffi@goffi.org>
date Wed, 05 Jan 2011 01:56:36 +0100
parents 86d249b6d9b7
children d8bb72f00eec
line wrap: on
line source

#!/bin/sh

NAME='sat'

PID_FILE="/tmp/$NAME.pid"
DAEMON="n"
MAIN_OPTIONS="-${DAEMON}oy"
TAP_PATH="./"
TAP_FILE="$NAME.tac"

#Don't change the next line
AUTO_OPTIONS=""
ADDITIONAL_OPTIONS="--pidfile $PID_FILE $AUTO_OPTIONS"

echo "autogenere == >" twistd $MAIN_OPTIONS $TAP_PATH$TAP_FILE $ADDITIONAL_OPTIONS 
twistd $MAIN_OPTIONS $TAP_PATH$TAP_FILE $ADDITIONAL_OPTIONS