summaryrefslogtreecommitdiff
path: root/jobd.conf.example
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2021-02-24 03:59:25 +0300
committerEvgeny Zinoviev <me@ch1p.io>2021-02-26 17:35:21 +0300
commit5e7d34458a6e60487393caa4f320ab1cfc1cf8e5 (patch)
tree11df96e6e105558e8bdcd7a1f61f720dd68150af /jobd.conf.example
initial commit
Diffstat (limited to 'jobd.conf.example')
-rw-r--r--jobd.conf.example38
1 files changed, 38 insertions, 0 deletions
diff --git a/jobd.conf.example b/jobd.conf.example
new file mode 100644
index 0000000..0659018
--- /dev/null
+++ b/jobd.conf.example
@@ -0,0 +1,38 @@
+; server settings
+host = 0.0.0.0
+port = 13596
+;password =
+
+master_host = 127.0.0.1
+master_port = 13597
+master_reconnect_timeout = 10
+
+; log
+log_file = /tmp/jobd.log
+log_level_file = info
+log_level_console = debug
+
+; mysql settings
+mysql_host = 10.211.55.6
+mysql_port = 3306
+mysql_user = jobd
+mysql_password = password
+mysql_database = jobd
+mysql_table = jobs
+mysql_fetch_limit = 10
+
+; launcher command template
+launcher = php /Users/ch1p/jobd-launcher.php --id {id}
+max_output_buffer = 16777216
+
+;
+; targets
+;
+
+[server1]
+low = 5
+normal = 5
+high = 5
+
+[global]
+normal = 3 \ No newline at end of file