Added a chroot option.
This commit is contained in:
parent
3a1e044b6d
commit
a78001bf22
@ -1,6 +1,7 @@
|
||||
listen_on: "tcp :29101"
|
||||
hash_salt: "iyP3oZWHI3xO3XBF7s78Vg"
|
||||
user: "dwupload"
|
||||
chroot: ""
|
||||
log:
|
||||
stdout: true
|
||||
error: "/var/log/dwelling-upload/error.log"
|
||||
|
@ -13,6 +13,7 @@ type Configuration struct {
|
||||
ListenOn string `yaml:"listen_on"`
|
||||
HashSalt string `yaml:"hash_salt"`
|
||||
User string `yaml:"user"`
|
||||
Chroot string `yaml:"chroot"`
|
||||
Log struct {
|
||||
ToStdout bool `yaml:"stdout"`
|
||||
Error string `yaml:"error"`
|
||||
|
Loading…
Reference in New Issue
Block a user