8 stat_busy
"Starting gitorious ultrasphinx"
9 /bin
/su
- git
-c "bin/rake ultrasphinx:daemon:start RAILS_ENV=production"
13 add_daemon gitorious-ultrasphinx
18 stat_busy
"Stopping gitorious ultrasphinx"
19 /bin
/su
- git
-c "bin/rake ultrasphinx:daemon:stop RAILS_ENV=production"
28 /bin
/su
- git
-c "bin/rake ultrasphinx:daemon:start RAILS_ENV=production"
31 stat_busy
"Restarting gitorious ultrasphinx"
32 /bin
/su
- git
-c "bin/rake ultrasphinx:daemon:restart RAILS_ENV=production"
35 rm_daemon gitorious-ultrasphinx
37 add_daemon gitorious-ultrasphinx
42 echo "usage: $0 {start|stop|status|restart}"