Removed configPath flag from main.
This commit is contained in:
parent
85529890a5
commit
59544da625
@ -17,7 +17,6 @@ import (
|
|||||||
"syscall"
|
"syscall"
|
||||||
)
|
)
|
||||||
|
|
||||||
var configPath *string = flag.String("conf", "config.yaml", "path to configuration file")
|
|
||||||
var listenAddress *string = flag.String("listen", "/var/run/dwelling-upload/sock", "listen address (ip:port|unix_path)")
|
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/uploads", "path to a directory where uploaded files are stored")
|
||||||
var keepFileForHours *int = flag.Int("keep-for", 36, "keep files for this much hours")
|
var keepFileForHours *int = flag.Int("keep-for", 36, "keep files for this much hours")
|
||||||
|
Loading…
Reference in New Issue
Block a user