Last active
December 11, 2015 18:58
Revisions
-
gurkanoluc revised this gist
Jan 26, 2013 . 2 changed files with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes.File renamed without changes. -
gurkanoluc created this gist
Jan 26, 2013 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,7 @@ [program:sidekiq] command=/var/www/<project_name>/current/script/run-sidekiq.sh autostart=true autorestart=true stdout_logfile=/var/log/supervisor/sidekiq.log redirect_stderr=true pidfile=/var/www/<project_name>/shared/pids/sidekiq.pid This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,3 @@ #!/bin/bash export PATH=/usr/local/.rbenv/bin:/root/.rbenv/shims/:$PATH; cd /var/www/<project_name>/current && bundle exec sidekiq -e production -C /var/www/<project_name>/current/config/sidekiq.yml -P /var/www/<project_name>/shared/pids/sidekiq.pid