diff options
| author | JP Dillingham <jp@dillingham.me> | 2025-03-02 20:48:11 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-03-02 20:48:11 -0600 |
| commit | 57092492292b2d809dee463d8c5edc1dcdec286e (patch) | |
| tree | 411f633cbb40e5a2c2c8159c17de1a768ab8ca0c /config | |
| parent | 71fe0a4a578fdd9f0945923eb655ddf2a546f1db (diff) | |
| parent | 4de21d94899605accdba680eeff95b8dc38b59e2 (diff) | |
| download | slskd-57092492292b2d809dee463d8c5edc1dcdec286e.tar.gz | |
Merge branch 'master' into dependabot/npm_and_yarn/src/web/serialize-javascript-6.0.2
Diffstat (limited to 'config')
| -rw-r--r-- | config/slskd.example.yml | 47 |
1 files changed, 41 insertions, 6 deletions
diff --git a/config/slskd.example.yml b/config/slskd.example.yml index dd164084..e76af51c 100644 --- a/config/slskd.example.yml +++ b/config/slskd.example.yml @@ -234,15 +234,50 @@ # retry: # attempts: 3 # scripts: -# my_post_download_script: +# run_command_with_linux_system_shell: # automatically uses the executable defined in $SHELL # on: # - DownloadFileComplete -# - DownloadDirectoryComplete -# run: data/my_script.sh --json-to-process $EVENT -# my_logging_script: +# run: +# command: 'echo "$SLSKD_SCRIPT_DATA" >> linux_system_shell.txt' +# run_with_sh: # on: -# - All -# run: data/log_slskd_events.sh $DATA +# - DownloadFileComplete +# run: +# executable: /bin/sh +# args: '-c "echo $SLSKD_SCRIPT_DATA >> linux_sh.txt"' +# run_with_sh_and_args_list: +# on: +# - DownloadFileComplete +# run: +# executable: /bin/sh +# arglist: +# - -c +# - echo $SLSKD_SCRIPT_DATA >> linux_sh_and_args_list.txt +# run_command_with_windows_system_shell: # automatically uses cmd.exe (included with all Windows installs) +# on: +# - DownloadFileComplete +# run: +# command: 'echo "%SLSKD_SCRIPT_DATA%" >> windows_system_shell.txt' +# run_with_windows_cmd: +# on: +# - DownloadFileComplete +# run: +# executable: cmd.exe +# args: '/c "echo "%SLSKD_SCRIPT_DATA%" >> windows_cmd.txt"' +# run_with_windows_git_bash: +# on: +# - DownloadFileComplete +# run: +# executable: C:\Program Files\Git\bin\bash.exe +# args: '-c "echo "$SLSKD_SCRIPT_DATA" >> windows_git_bash.txt"' +# run_with_windows_cmd_and_args_list: +# on: +# - DownloadFileComplete +# run: +# executable: cmd.exe +# arglist: +# - /c +# - 'echo "%SLSKD_SCRIPT_DATA%" >> windows_cmd_and_args_list.txt' # ftp: # enabled: false # address: ~ |
