Add log directory into config file.
This commit is contained in:
parent
264e403882
commit
c3e81c61d7
@ -1,6 +1,7 @@
|
|||||||
listen_on: "tcp :29101"
|
listen_on: "tcp :29101"
|
||||||
hash_salt: "iyP3oZWHI3xO3XBF7s78Vg"
|
hash_salt: "iyP3oZWHI3xO3XBF7s78Vg"
|
||||||
web_dir: "web"
|
web_dir: "web"
|
||||||
|
log_dir: "/var/log/dwelling-upload"
|
||||||
uploads:
|
uploads:
|
||||||
directory: "/srv/uploads"
|
directory: "/srv/uploads"
|
||||||
limits:
|
limits:
|
||||||
|
@ -13,6 +13,7 @@ type Configuration struct {
|
|||||||
ListenOn string `yaml:"listen_on"`
|
ListenOn string `yaml:"listen_on"`
|
||||||
HashSalt string `yaml:"hash_salt"`
|
HashSalt string `yaml:"hash_salt"`
|
||||||
WebDir string `yaml:"web_dir"`
|
WebDir string `yaml:"web_dir"`
|
||||||
|
LogDir string `yaml:"log_dir"`
|
||||||
Uploads struct {
|
Uploads struct {
|
||||||
Directory string `yaml:"directory"`
|
Directory string `yaml:"directory"`
|
||||||
Limits struct {
|
Limits struct {
|
||||||
|
Loading…
Reference in New Issue
Block a user