1
0

Removed configPath flag from main.

This commit is contained in:
Alexander Andreev 2023-05-25 02:17:27 +04:00
parent 85529890a5
commit 59544da625
Signed by: Arav
GPG Key ID: D22A817D95815393

View File

@ -17,7 +17,6 @@ import (
"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 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")