startup script for searchd in production

This commit is contained in:
joshua stein 2012-07-11 17:37:47 -05:00
parent b8b3d97718
commit f7fcd843a7
2 changed files with 5 additions and 0 deletions

1
.gitignore vendored
View file

@ -13,6 +13,7 @@
# Ignore all logfiles and tempfiles.
/log/*.log
/log/*.pid
/log/*.gz
/tmp

4
script/start_searchd Executable file
View file

@ -0,0 +1,4 @@
#!/bin/sh
cd /d/rails/lobsters
sudo -u lobsters env RAILS_ENV=production bundle19 exec rake19 thinking_sphinx:start