root / notsoquickwiki / trunk / ov_serve.sh

Revision 81, 0.5 kB (checked in by phil, 12 months ago)

Initial import into public svn

Line 
1#!/bin/sh -e
2PROJENV=${HOME}/working/NotSoQuickWiki
3
4case "$1" in
5  start)
6    paster serve --daemon --pid-file=${PROJENV}/paster.pid --log-file=${PROJENV}/paster.log ${PROJENV}/development.ini start
7    ;;
8  stop)
9    paster serve --daemon --pid-file=${PROJENV}/paster.pid --log-file=${PROJENV}/paster.log ${PROJENV}/development.ini  stop
10    ;;
11  restart)
12    paster serve --daemon --pid-file=${PROJENV}/paster.pid --log-file=${PROJENV}/paster.log ${PROJENV}/development.ini restart
13    ;;
14  *)
15    echo $"Usage: $0 {start|stop|restart}"
16    exit 1
17esac
Note: See TracBrowser for help on using the browser.