aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2024-10-13 17:18:37 -0500
committerJP Dillingham <jp@dillingham.me>2024-10-13 17:18:37 -0500
commitc22ca22d299c0c8ad202c852c95f12fcff609249 (patch)
tree085353bfb5a345f6d08dc368a608466b62e80624
parentf31e306c4d4a6abca109b4d619a450b9efb0ad0e (diff)
downloadslskd-c22ca22d299c0c8ad202c852c95f12fcff609249.tar.gz
add script configuration examples
-rw-r--r--config/slskd.example.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/config/slskd.example.yml b/config/slskd.example.yml
index 4b4f0996..6b7750d5 100644
--- a/config/slskd.example.yml
+++ b/config/slskd.example.yml
@@ -233,3 +233,13 @@
# notify_on_room_mention: true
# retry_attempts: 3
# cooldown_time: 900000
+# scripts:
+# my_post_download_script:
+# on:
+# - DownloadFileComplete
+# - DownloadDirectoryComplete
+# run: data/my_script.sh --json-to-process $EVENT
+# my_logging_script:
+# on:
+# - All
+# run: data/log_slskd_events.sh $EVENT \ No newline at end of file