mirror of
https://github.com/owncloud/ocis
synced 2026-05-05 22:52:19 +02:00
better configuration for pp service
Signed-off-by: jkoberg <jkoberg@owncloud.com>
This commit is contained in:
@@ -23,6 +23,7 @@ type Config struct {
|
||||
// Postprocessing definces the config options for the postprocessing service.
|
||||
type Postprocessing struct {
|
||||
Events Events `yaml:"events"`
|
||||
Steps []string `yaml:"steps" env:"POSTPROCESSING_STEPS" desc:"A comma seperated list of postprocessing steps. Known to the system are virusscan and delay. Custom steps are allowed. See README.md for instructions."`
|
||||
Virusscan bool `yaml:"virusscan" env:"POSTPROCESSING_VIRUSSCAN" desc:"After uploading a file but before making it available for download, virus scanning the file can be enabled. Needs as prerequisite the antivirus service to be enabled and configured."`
|
||||
Delayprocessing time.Duration `yaml:"delayprocessing" env:"POSTPROCESSING_DELAY" desc:"After uploading a file but before making it available for download, a delay step can be added. Intended for developing purposes only. The duration can be set as number followed by a unit identifier like s, m or h."`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user