Mercurial > libervia-backend
diff 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 diff
--- a/src/sat.sh Tue Jan 04 19:30:27 2011 +0100 +++ b/src/sat.sh Wed Jan 05 01:56:36 2011 +0100 @@ -1,3 +1,16 @@ #!/bin/sh -twistd -noy sat.tac + +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