4 [ -f /etc
/conf.d
/ttserver
] && .
/etc
/conf.d
/ttserver
11 stat_busy
"Starting TokyoTyrant Server"
12 /usr
/bin
/ttserver
${TYRANT_EXTRA_OPTS} -dmn -pid ${TYRANT_PID_FILE} -log ${TYRANT_LOG_FILE} -port ${TYRANT_PORT} ${TYRANT_DB}
21 stat_busy
"Stopping TokyoTyrant Server"
22 if [ -f $TYRANT_PID_FILE ]; then
23 pid
=`cat "$TYRANT_PID_FILE"`
39 echo "usage: $0 {start|stop|restart}"