From 15f4b5bc805b81d698aba5814b7b5e9de489aa47 Mon Sep 17 00:00:00 2001 From: Marek Majkowski Date: Tue, 26 Nov 2013 06:37:14 -0800 Subject: [PATCH] By default vault should not be stored in /tmp! --- redoctober.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/redoctober.go b/redoctober.go index 03da8ce..fd53a20 100644 --- a/redoctober.go +++ b/redoctober.go @@ -142,7 +142,7 @@ const usage = `Usage: redoctober -static -vaultpath -addr -cert -key [-ca ] example: -redoctober -vaultpath /tmp/diskrecord.json -addr localhost:8080 -cert cert.pem -key cert.key +redoctober -vaultpath diskrecord.json -addr localhost:8080 -cert cert.pem -key cert.key ` func main() { @@ -153,7 +153,7 @@ func main() { } var staticPath = flag.String("static", "/tmp/index.html", "Path to the the static entry") - var vaultPath = flag.String("vaultpath", "/tmp/tmpvault", "Path to the the disk vault") + var vaultPath = flag.String("vaultpath", "diskrecord.json", "Path to the the disk vault") var addr = flag.String("addr", "localhost:8080", "Server and port separated by :") var certPath = flag.String("cert", "", "Path of TLS certificate in PEM format") var keyPath = flag.String("key", "", "Path of TLS private key in PEM format")