Mercurial > libervia-backend
comparison 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 |
comparison
equal
deleted
inserted
replaced
224:9c6ee3f9ab29 | 225:fd9b7834d98a |
---|---|
1 #!/bin/sh | 1 #!/bin/sh |
2 twistd -noy sat.tac | |
3 | 2 |
3 NAME='sat' | |
4 | |
5 PID_FILE="/tmp/$NAME.pid" | |
6 DAEMON="n" | |
7 MAIN_OPTIONS="-${DAEMON}oy" | |
8 TAP_PATH="./" | |
9 TAP_FILE="$NAME.tac" | |
10 | |
11 #Don't change the next line | |
12 AUTO_OPTIONS="" | |
13 ADDITIONAL_OPTIONS="--pidfile $PID_FILE $AUTO_OPTIONS" | |
14 | |
15 echo "autogenere == >" twistd $MAIN_OPTIONS $TAP_PATH$TAP_FILE $ADDITIONAL_OPTIONS | |
16 twistd $MAIN_OPTIONS $TAP_PATH$TAP_FILE $ADDITIONAL_OPTIONS |