mirror of
https://github.com/diaspora/diaspora.git
synced 2026-01-06 22:04:07 -05:00
Add vines as foreman task
This commit is contained in:
2
.foreman
2
.foreman
@@ -1,2 +1,2 @@
|
||||
port: 3000
|
||||
formation: web=1,sidekiq=0
|
||||
formation: xmpp=0,web=1,sidekiq=0
|
||||
|
||||
1
Procfile
1
Procfile
@@ -1,2 +1,3 @@
|
||||
web: bundle exec unicorn_rails -c config/unicorn.rb -p $PORT
|
||||
sidekiq: bundle exec sidekiq
|
||||
xmpp: bundle exec vines start
|
||||
|
||||
@@ -137,6 +137,7 @@ https://github.com/diaspora/diaspora/issues/4202 for details
|
||||
"
|
||||
fi
|
||||
|
||||
vines=0
|
||||
# Start Diaspora
|
||||
echo -n "Starting Diaspora in $RAILS_ENV mode on port $port "
|
||||
if [ "$embed_sidekiq_worker" = "true" ]
|
||||
@@ -152,4 +153,4 @@ else
|
||||
fi
|
||||
echo ""
|
||||
|
||||
exec bundle exec foreman start -m "web=1,sidekiq=$workers" -p $port
|
||||
exec bundle exec foreman start -m "xmpp=$vines,web=1,sidekiq=$workers" -p $port
|
||||
|
||||
Reference in New Issue
Block a user