From 4706c88aff538cc175111d9a7ecb28e37f378a52 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Sun, 23 Feb 2025 16:49:30 -0600 Subject: adjust examples --- config/slskd.example.yml | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) (limited to 'config') diff --git a/config/slskd.example.yml b/config/slskd.example.yml index 3b6cd78c..5ae868ab 100644 --- a/config/slskd.example.yml +++ b/config/slskd.example.yml @@ -255,13 +255,29 @@ # - DownloadFileComplete # run: # executable: cmd.exe -# command: '/c "echo %SLSKD_SCRIPT_DATA% >> downloads.txt"' +# args: '/c "echo %SLSKD_SCRIPT_DATA% >> downloads.txt"' # run_with_windows_git_bash: # on: # - DownloadFileComplete # run: # executable: C:\Program Files\Git\git-bash.exe -# command: '-c "echo $SLSKD_SCRIPT_DATA >> downloads.txt"' +# args: '-c "echo $SLSKD_SCRIPT_DATA >> downloads.txt"' +# run_with_sh_and_args_list: +# on: +# - DownloadFileComplete +# run: +# executable: /bin/sh +# args_list: +# - -c +# - echo $SLSKD_SCRIPT_DATA >> downloads.txt +# run_with_windows_cmd_and_args_list: +# on: +# - DownloadFileComplete +# run: +# executable: cmd.exe +# args_list: +# - /c +# - echo %SLSKD_SCRIPT_DATA% >> downloads.txt # ftp: # enabled: false # address: ~ -- cgit v1.2.3