producer-rails 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/producer/rails/version.rb +1 -1
- data/lib/producer/rails.rb +1 -1
- metadata +1 -1
data/lib/producer/rails.rb
CHANGED
@@ -37,7 +37,7 @@ module Producer
|
|
37
37
|
www_pid_path = get :www_pid_path
|
38
38
|
queue_workers = get :queue_workers
|
39
39
|
|
40
|
-
if ENV.key?
|
40
|
+
if ENV.key?('DEPLOY_INIT') || ENV.key?('DEPLOY_START')
|
41
41
|
www_start app_path, www_pid_path
|
42
42
|
app_start app_path, queue_workers
|
43
43
|
else
|