ledgerrb/rc.ledgerrb
2014-07-31 18:51:55 +02:00

21 lines
244 B
Bash
Executable file

#!/bin/sh
THIN=thin
THINYML=$(pwd)/config/thin.yml
case $1 in
"start")
$THIN -C $THINYML start
;;
"stop")
$THIN -C $THINYML stop
;;
"restart")
$THIN -C $THINYML restart
;;
*)
echo "Usage; start|stop|restart"
;;
esac