diff --git a/cmd/dwelling-upload-clean/main.go b/cmd/dwelling-upload-clean/main.go index ed16a32..ae6671f 100644 --- a/cmd/dwelling-upload-clean/main.go +++ b/cmd/dwelling-upload-clean/main.go @@ -10,7 +10,7 @@ import ( "time" ) -var uploadDir *string = flag.String("upload-dir", "/srv/uploads", "path to a directory where uploaded files are stored") +var uploadDir *string = flag.String("upload-dir", "/srv/upload", "path to a directory where uploaded files are stored") var keepFileForHours *int64 = flag.Int64("keep-for", 36, "keep files for this much hours") var showVersion *bool = flag.Bool("v", false, "show version") diff --git a/cmd/dwelling-upload/main.go b/cmd/dwelling-upload/main.go index 5e1599c..5319acf 100644 --- a/cmd/dwelling-upload/main.go +++ b/cmd/dwelling-upload/main.go @@ -20,7 +20,7 @@ import ( ) var listenAddress *string = flag.String("listen", "/var/run/dwelling-upload/sock", "listen address (ip:port|unix_path)") -var uploadDir *string = flag.String("upload-dir", "/srv/uploads", "path to a directory where uploaded files are stored") +var uploadDir *string = flag.String("upload-dir", "/srv/upload", "path to a directory where uploaded files are stored") var keepFileForHours *int = flag.Int("keep-for", 36, "keep files for this much hours") var limitStorage *int64 = flag.Int64("storage", 102400, "storage size in MiB for uploads") var limitFileSize *int64 = flag.Int64("file-size", 128, "max. size in MiB for uploaded files")