Permalink
Browse files

change default location for tmp files to /var/tmp/gbrowse2

  • Loading branch information...
1 parent 87ac8c0 commit ceaff43b88e4014586626fa039f174cc1156e5e2 @lstein lstein committed Jul 22, 2011
Showing with 4 additions and 2 deletions.
  1. +3 −2 Changes
  2. +1 −0 install_util/GBrowseGuessDirectories.pm
View
@@ -1,8 +1,9 @@
2.40
- * Added support script for Amazon cloud image: gbrowse_attach_slaves.pl creates
- slave instances for AMI ami-c6ca31af.
* Changed behavior of render slave to a prefork model. Activate by including
PREFORK=5 (or other desired number of servers) in /etc/default/gbrowse-slave.
+ * Added support script for Amazon cloud image: gbrowse_attach_slaves.pl creates
+ slave instances for AMI ami-c6ca31af.
+ * Change default tmpfile location to /var/tmp/gbrowse2 (was /tmp/gbrowse2).
2.39
* Download SVG images as type application/svg+xml rather than triggering
@@ -41,6 +41,7 @@ sub tmp {
my $self = shift;
return File::Spec->catfile($PREFIX,'tmp','gbrowse2') if $PREFIX;
return '/srv/gbrowse2/tmp' if $ENV{DEB_BUILD_ARCH}; # FHS system
+ return '/var/tmp/gbrowse2' if -e '/var/tmp' && -w '/var/tmp';
return File::Spec->catfile(File::Spec->tmpdir,'gbrowse2');
}

0 comments on commit ceaff43

Please sign in to comment.