mirror of
https://framagit.org/fiat-tux/hat-softwares/lutim.git
synced 2026-11-03 17:32:23 +01:00
🔀 Merge branch 'configurable-tmpdir' into 'development'
Ability to configure MOJO_TMPDIR via environment See merge request fiat-tux/hat-softwares/lutim!96
This commit is contained in:
commit
c62bf20a92
1 file changed
+1
-1
+1
-1
@@ -16,7 +16,7 @@ BEGIN {
|
||||
}
|
||||
}
|
||||
|
||||
$ENV{MOJO_TMPDIR} = 'tmp';
|
||||
$ENV{MOJO_TMPDIR} = 'tmp' unless (defined $ENV{MOJO_TMPDIR});
|
||||
mkdir($ENV{MOJO_TMPDIR}, 0700) unless (-d $ENV{MOJO_TMPDIR});
|
||||
# This method will run once at server start
|
||||
sub startup {
|
||||
|
||||
Reference in new issue
Block a user