Sha256: 10673b51edf57d948148580ee8ee5ff96b2a305d7f54cb732bbfe20380c34bdf
Contents?: true
Size: 477 Bytes
Versions: 1
Compression:
Stored size: 477 Bytes
Contents
#! /bin/sh ARGV="$@" case $ARGV in start) /usr/sbin/httpd -d `pwd` -f conf/apache.conf ruby -C.. tiny/app.rb --start # --daemon ERROR=$? ;; restart) # restart appserver only! export ASPID= `ps ax | grep app.rb | grep ruby | cut -d" " -f1` if [ -n "$ASPID" ]; then echo $ASPID kill -9 $ASPID fi ruby -C.. tiny/app.rb --restart # --daemon ERROR=$? ;; stop) killall -9 ruby httpd ERROR=$? ;; *) echo "NOP" ERROR=$? esac exit $ERROR
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
nitro-0.1.2 | examples/tiny/ctl |