From 0e5dc2ce0ca33ef69e71b7d8782646c8e689615d Mon Sep 17 00:00:00 2001 From: Franziska Kunsmann Date: Sun, 10 Nov 2024 12:08:56 +0100 Subject: [PATCH] adjust example config --- config.example.toml | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/config.example.toml b/config.example.toml index a5a6aed..17f6f93 100644 --- a/config.example.toml +++ b/config.example.toml @@ -6,6 +6,15 @@ debug = "info" # except for C3Tracker worker_type = "releasing" +# operation mode must be one of "loop_until_empty", "loop_forever" or +# "single" (default). +# loop_until_empty: process all available tickets until none are available, +# then exit cleanly +# loop_forever: loop forever. wait two seconds if a ticket was processed, +# 30 seconds if no ticket was found +# single: process a single ticket, then exit. +run_mode = "single" + [C3Tracker] group = "" #only set host if you don"t wont to use local machine name @@ -23,7 +32,6 @@ wget = ["wget", "-q", "-O", "--TARGETPATH--", "--", "--DOWNLOADURL--"] # property is missing in a ticket. If "yes", using the service is enabled, # otherwise it"s disabled. [voctoweb] -enable_default = false # e.g. https://exmaple.com/api/ - with trailing slash api_url = "" api_key = "" @@ -36,29 +44,30 @@ ssh_port = "" ssh_user = "" [youtube] -enable_default = false secret = "" client_id = "" [twitter] -enable_default = false token = "" token_secret = "" consumer_key = "" consumer_secret = "" [mastodon] -enable_default = false api_base_url = "https://mastodon.social" # no trailing slash email = "" password = "" [bluesky] -enable_default = false username = "" app_password = "" [rclone] -enable_default = false exe_path = "/path/to/rclone/binary" config_path = "/path/to/rclone/config" + +[defaults] +# For some properties, you can define defaults which get used if the +# property is not found in the ticket itself. Note that the property being +# empty in the ticket does also trigger a fallback to the default. +"Publishing.Twitter.Enable" = false