mirror of
https://github.com/internetee/registry.git
synced 2025-07-03 01:33:36 +02:00
Updated doc init script and que #2724
This commit is contained in:
parent
b18960c32a
commit
f7e639dd0e
6 changed files with 40 additions and 10 deletions
|
@ -27,7 +27,7 @@ cd $APP_ROOT || exit 1
|
|||
|
||||
case ${1-help} in
|
||||
status)
|
||||
cd $APP_ROOT && RAILS_ENV=$RAILS_ENV $RUBY_BUNDLE_PATH exec rake daemon:que:status
|
||||
cd $APP_ROOT && RAILS_ENV=$RAILS_ENV lib/daemons/que_ctl status
|
||||
;;
|
||||
start)
|
||||
echo "$1 que monitor and server"
|
||||
|
@ -38,7 +38,7 @@ start)
|
|||
;;
|
||||
stop)
|
||||
echo "$1 que monitor and server"
|
||||
cd $APP_ROOT && RAILS_ENV=$RAILS_ENV $RUBY_BUNDLE_PATH exec rake daemon:que:stop
|
||||
cd $APP_ROOT && RAILS_ENV=$RAILS_ENV lib/daemons/que_ctl stop
|
||||
;;
|
||||
restart)
|
||||
echo "$1 que monitor and server"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue