Added comments for options.
Fixed a typo clean ->clear.
This commit is contained in:
parent
ad336b03e2
commit
1212915bf6
@ -1,17 +1,36 @@
|
|||||||
|
# Sets network type (could be tcp{,4,6}, unix)
|
||||||
|
# and address:port or /path/to/unix.socket to
|
||||||
|
# listen on.
|
||||||
listen_on: "tcp :29101"
|
listen_on: "tcp :29101"
|
||||||
|
# Salt for hash of uploaded files.
|
||||||
|
# Aim is to make useless a bruteforce of links.
|
||||||
hash_salt: "iyP3oZWHI3xO3XBF7s78Vg"
|
hash_salt: "iyP3oZWHI3xO3XBF7s78Vg"
|
||||||
|
# User a program runs as. Make sure that all
|
||||||
|
# paths are accessible by that user.
|
||||||
user: "dwupload"
|
user: "dwupload"
|
||||||
|
# Chroot directory. No chrooting if empty.
|
||||||
|
# Make sure all directories are created within
|
||||||
|
# chroot directory. All paths becomes related
|
||||||
|
# to chroot.
|
||||||
chroot: ""
|
chroot: ""
|
||||||
|
# Logging options.
|
||||||
log:
|
log:
|
||||||
|
# Output messages to stdout as well as to theirs files.
|
||||||
stdout: true
|
stdout: true
|
||||||
|
# dwelling-upload logs.
|
||||||
error: "/var/log/dwelling-upload/error.log"
|
error: "/var/log/dwelling-upload/error.log"
|
||||||
upload: "/var/log/dwelling-upload/upload.log"
|
upload: "/var/log/dwelling-upload/upload.log"
|
||||||
download: "/var/log/dwelling-upload/download.log"
|
download: "/var/log/dwelling-upload/download.log"
|
||||||
clean: "/var/log/dwelling-upload/clean.log"
|
# dwelling-upload-clear logs.
|
||||||
clean_error: "/var/log/dwelling-upload/clean_error.log"
|
clear: "/var/log/dwelling-upload/clear.log"
|
||||||
|
clear_error: "/var/log/dwelling-upload/clear_error.log"
|
||||||
uploads:
|
uploads:
|
||||||
|
# Path where to put uploaded files.
|
||||||
directory: "/srv/uploads"
|
directory: "/srv/uploads"
|
||||||
limits:
|
limits:
|
||||||
|
# Maximum size of a file in MiB.
|
||||||
file_size: 128
|
file_size: 128
|
||||||
|
# Amount of hours file will be keeped for.
|
||||||
keep_for_hours: 48
|
keep_for_hours: 48
|
||||||
|
# Maximum size of a whole storage in MiB.
|
||||||
storage: 204800
|
storage: 204800
|
Loading…
Reference in New Issue
Block a user