Permalink
Browse files

Fixed Glassfish daemonization issue.

  • Loading branch information...
John Paul Lewicke
John Paul Lewicke committed Mar 6, 2011
1 parent fbccad9 commit 52ca6586538a373540762f38f6b967770291a229
Showing with 3 additions and 3 deletions.
  1. +2 −2 config/deploy.rb
  2. +1 −1 config/glassfish.yml
View
@@ -229,7 +229,7 @@
desc "Launch the Rivulet website."
task :launch_rivulet do
- run "mkdir rivulet/tmp ; mkdir rivulet/tmp/pids"
+ run "mkdir rivulet/tmp ; mkdir rivulet/tmp/pids ; mkdir rivulet/log"
run "#{sudo} apt-get install libjna-java -y"
run "#{sudo} chmod o+rw /etc/apache2/apache2.conf"
run "#{sudo} echo ProxyPass / http://localhost:3000/ >> /etc/apache2/apache2.conf"
@@ -247,7 +247,7 @@
puts "You can terminate this server by running \" ec2-terminate-instances #{ami} \"."
system "ssh #{user}@#{hostname} \"cd rivulet ; nohup jruby -S bundle exec glassfish > test.out 2>&1 &\""
- #run "cd rivulet ; nohup jruby -S bundle exec glassfish > test.out"
+ #run "cd rivulet ; nohup jruby -S bundle exec glassfish > test.out 2>&1 &", :pty => false
end
end
View
@@ -101,7 +101,7 @@ jruby-runtime-pool:
daemon:
# Run GlassFish as a daemon. GlassFish may not run as a daemon process
# on all platforms. Default value is false.
- enable: true
+ enable: false
# File where the process id of GlassFish is saved when run as daemon.
# The location must be either an absolute path or relative to your

0 comments on commit 52ca658

Please sign in to comment.