Mount all downloads script. Tune and test unicorn uploads. Refs #2261

This commit is contained in:
Pavel Chipiga 2011-12-02 15:52:20 +02:00
parent ac61b5efa3
commit 301cdb2ca2
2 changed files with 10 additions and 1 deletions

9
bin/mount_downloads.sh Normal file
View File

@ -0,0 +1,9 @@
#!/bin/bash
for f in `ls /srv/rosa_build/shared/downloads`
do
if [ -d "/home/share/platforms/$f" ]
then
mount --bind "/home/share/platforms/$f" "/srv/rosa_build/shared/downloads/$f"
fi
done

View File

@ -10,7 +10,7 @@ working_directory File.expand_path(File.join(File.dirname(__FILE__), "..")) # a
listen 8080, :tcp_nopush => true listen 8080, :tcp_nopush => true
# #
#nuke workers after 30 seconds instead of 60 seconds (the default) #nuke workers after 30 seconds instead of 60 seconds (the default)
timeout 120 timeout 1200
# #
#feel free to point this anywhere accessible on the filesystem #feel free to point this anywhere accessible on the filesystem
pid File.expand_path(File.join(File.dirname(__FILE__), "..")) + '/tmp/pids/unicorn.pid' pid File.expand_path(File.join(File.dirname(__FILE__), "..")) + '/tmp/pids/unicorn.pid'