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