Fix magent run command
This commit is contained in:
parent
ed35969084
commit
bc1b64ced1
1 changed files with 1 additions and 1 deletions
|
|
@ -43,7 +43,7 @@ execute "executable" do
|
|||
end
|
||||
|
||||
execute "magent run" do
|
||||
command "mkdir -p /service/magent && echo '#!/bin/sh' > /service/magent/run && echo 'cd /usr/local/app/diaspora && RAILS_ENV=production exec /usr/local/bin/ruby /usr/local/bin/magent start --log-path=log/' >> /service/magent/run"
|
||||
command "mkdir -p /service/magent && echo '#!/bin/sh' > /service/magent/run && echo 'cd /usr/local/app/diaspora && RAILS_ENV=production exec /usr/local/bin/bundle exec /usr/local/bin/magent start --log-path=log/' >> /service/magent/run"
|
||||
end
|
||||
execute "executable" do
|
||||
command "chmod -R 755 /service/magent"
|
||||
|
|
|
|||
Loading…
Reference in a new issue