aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2025-02-26 22:28:10 -0600
committerJP Dillingham <jp@dillingham.me>2025-02-26 22:28:10 -0600
commit8fc82b70cb7dac0c96156fc3604c64e8005e975a (patch)
tree5c2abf23f035f0509c640a6e7607d345d8030a2e /config
parentbc622aab1f445d27a323daa3a64a25c27fa73307 (diff)
downloadslskd-8fc82b70cb7dac0c96156fc3604c64e8005e975a.tar.gz
adjust windows script examples
Diffstat (limited to 'config')
-rw-r--r--config/slskd.example.yml34
1 files changed, 17 insertions, 17 deletions
diff --git a/config/slskd.example.yml b/config/slskd.example.yml
index 5ae868ab..5b4a0179 100644
--- a/config/slskd.example.yml
+++ b/config/slskd.example.yml
@@ -238,38 +238,38 @@
# on:
# - DownloadFileComplete
# run:
-# command: '"echo '$SLSKD_SCRIPT_DATA' >> slskd_downloads.txt"'
-# run_command_with_windows_system_shell: # slskd uses cmd.exe
+# command: 'echo "$SLSKD_SCRIPT_DATA" >> slskd_downloads.txt'
+# run_with_sh:
# on:
# - DownloadFileComplete
# run:
-# command: '"echo "%SLSKD_SCRIPT_DATA%" >> slskd_downloads.txt"'
-# run_with_sh:
+# executable: /bin/sh
+# args: '-c "echo $SLSKD_SCRIPT_DATA >> downloads.txt"'
+# run_with_sh_and_args_list:
# on:
# - DownloadFileComplete
# run:
# executable: /bin/sh
-# args: '-c "echo $SLSKD_SCRIPT_DATA >> downloads.txt"'
-# run_with_windows_cmd:
+# args_list:
+# - -c
+# - echo $SLSKD_SCRIPT_DATA >> downloads.txt
+# run_command_with_windows_system_shell:
# on:
# - DownloadFileComplete
# run:
-# executable: cmd.exe
-# args: '/c "echo %SLSKD_SCRIPT_DATA% >> downloads.txt"'
-# run_with_windows_git_bash:
+# command: 'echo "%SLSKD_SCRIPT_DATA%" >> windows_system_shell.txt'
+# run_with_windows_cmd:
# on:
# - DownloadFileComplete
# run:
-# executable: C:\Program Files\Git\git-bash.exe
-# args: '-c "echo $SLSKD_SCRIPT_DATA >> downloads.txt"'
-# run_with_sh_and_args_list:
+# executable: cmd.exe
+# args: '/c "echo "%SLSKD_SCRIPT_DATA%" >> windows_cmd.txt"'
+# run_with_windows_git_bash:
# on:
# - DownloadFileComplete
# run:
-# executable: /bin/sh
-# args_list:
-# - -c
-# - echo $SLSKD_SCRIPT_DATA >> downloads.txt
+# 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
@@ -277,7 +277,7 @@
# executable: cmd.exe
# args_list:
# - /c
-# - echo %SLSKD_SCRIPT_DATA% >> downloads.txt
+# - 'echo "%SLSKD_SCRIPT_DATA%" >> windows_cmd_and_args_list.txt'
# ftp:
# enabled: false
# address: ~