JPSolutions commited on
Commit
8c0e7eb
·
verified ·
1 Parent(s): f2e7c22

Update supervisord.conf

Browse files
Files changed (1) hide show
  1. supervisord.conf +1 -2
supervisord.conf CHANGED
@@ -10,7 +10,6 @@ autostart=true
10
  autorestart=true
11
 
12
  [program:crm-service]
13
- directory=/app
14
- command=/bin/sh -c "bundle exec rails server -b 127.0.0.1 -p 3000"
15
  autostart=true
16
  autorestart=true
 
10
  autorestart=true
11
 
12
  [program:crm-service]
13
+ command=/bin/sh -c "cd $(dirname $(find /app -name Gemfile -not -path '*/vendor/*' | head -n 1)) && bundle exec rails server -b 127.0.0.1 -p 3000 -e production"
 
14
  autostart=true
15
  autorestart=true