Spaces:
Paused
Paused
Update supervisord.conf
Browse files- supervisord.conf +1 -2
supervisord.conf
CHANGED
|
@@ -10,7 +10,6 @@ autostart=true
|
|
| 10 |
autorestart=true
|
| 11 |
|
| 12 |
[program:crm-service]
|
| 13 |
-
|
| 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
|