mirror of
https://github.com/drakkan/sftpgo.git
synced 2025-12-06 14:20:55 +03:00
clarify notifications on folder deletion
This commit is contained in:
@@ -65,7 +65,7 @@ The `sftpgo.conf` configuration file contains the following sections:
|
||||
- `max_auth_tries` integer. Maximum number of authentication attempts permitted per connection. If set to a negative number, the number of attempts are unlimited. If set to zero, the number of attempts are limited to 6.
|
||||
- `umask`, string. Umask for the new files and directories. This setting has no effect on Windows. Default: "0022"
|
||||
- `actions`, struct. It contains the command to execute and/or the HTTP URL to notify and the trigger conditions
|
||||
- `execute_on`, list of strings. Valid values are `download`, `upload`, `delete`, `rename`. Leave empty to disable actions.
|
||||
- `execute_on`, list of strings. Valid values are `download`, `upload`, `delete`, `rename`. On folder deletion a `delete` notification will be sent for each deleted file. Leave empty to disable actions.
|
||||
- `command`, string. Absolute path to the command to execute. Leave empty to disable. The command is invoked with the following arguments:
|
||||
- `action`, any valid `execute_on` string
|
||||
- `username`, user who did the action
|
||||
@@ -102,8 +102,8 @@ Here is a full example showing the default config:
|
||||
"max_auth_tries":0,
|
||||
"umask":"0022",
|
||||
"actions":{
|
||||
"execute_on":["upload"],
|
||||
"command":"/usr/bin/uploadscript",
|
||||
"execute_on":[],
|
||||
"command":"",
|
||||
"http_notification_url":""
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user