mirror of https://github.com/perkeep/perkeep.git
In dev mode, default to 'foo' for the password.
Change-Id: I60d10174fbf80ce325501b91d6369ef612bf67ed
This commit is contained in:
parent
f1728b3299
commit
98c488d2cc
|
@ -35,6 +35,13 @@ if ($in_prod) {
|
|||
sleep 5;
|
||||
}
|
||||
} else {
|
||||
my $pass_file = "$ENV{HOME}/.config/camlistore/camorg-blobserver.pass";
|
||||
unless (-s $pass_file) {
|
||||
`mkdir -p $ENV{HOME}/.config/camlistore/`;
|
||||
open (my $fh, ">$pass_file");
|
||||
print $fh "foo\n";
|
||||
close($fh);
|
||||
}
|
||||
push @args, "--http=127.0.0.1:8080"; # localhost avoids Mac firewall warning
|
||||
exec(@args);
|
||||
die "Failed to exec: $!";
|
||||
|
|
Loading…
Reference in New Issue