Преглед на файлове

clarify notifications on folder deletion

Nicola Murino преди 6 години
родител
ревизия
6a6e31cceb
променени са 1 файла, в които са добавени 3 реда и са изтрити 3 реда
  1. 3 3
      README.md

+ 3 - 3
README.md

@@ -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":""
         }
    },