如何在你的VPS(数字海洋)上启动bluepill?

时间:2013-10-20 08:04:09

标签: bluepill

discourse@fyps:~$ bluepill stop 
Error: There are no running bluepill daemons. 
To start a bluepill daemon, use: bluepill load  
discourse@fyps:~$ bluepill load 
/home/discourse/.rvm/gems/ruby-2.0.0-p247/gems/bluepill-0.0.66/bin/bluepill:108:in `exists?': no implicit conversion of nil into String (TypeError)
from /home/discourse/.rvm/gems/ruby-2.0.0-p247/gems/bluepill-0.0.66/bin/bluepill:108:in `'
from /home/discourse/.rvm/gems/ruby-2.0.0-p247/bin/bluepill:23:in `load'
from /home/discourse/.rvm/gems/ruby-2.0.0-p247/bin/bluepill:23:in `'
from /home/discourse/.rvm/gems/ruby-2.0.0-p247/bin/ruby_executable_hooks:15:in `eval'
from /home/discourse/.rvm/gems/ruby-2.0.0-p247/bin/ruby_executable_hooks:15:in `'

我想知道如何启动bluepill,谢谢!

1 个答案:

答案 0 :(得分:0)

我喜欢这样:

$ /usr/local/rvm/bin/bootup_bluepill --no-privileged stop
$ /usr/local/rvm/bin/bootup_bluepill --no-privileged quit
$ RUBY_GC_MALLOC_LIMIT=90000000 RAILS_ROOT=/var/www/discourse RAILS_ENV=production NUM_WEBS=2 /usr/local/rvm/bin/bootup_bluepill --no-privileged -c ~/.bluepill load /var/www/discourse/config/discourse.pill

您可以从此命令的输出中获取最后一个命令:

$ crontab -l

如果您使用INSTALL-ubuntu.md

安装了话语,这将有效