aboutsummaryrefslogtreecommitdiff
path: root/jobd.conf.example
blob: 57e070115cfa3aca6d20acef22840d44777ac26f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
; server settings
host = 0.0.0.0
port = 7080
;password =
always_allow_localhost = 0

master_host = 127.0.0.1
master_port = 7081
master_reconnect_timeout = 10

; log
log_file = /var/log/jobd/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}
launcher.cwd = /Users/ch1p
launcher.env.LC_ALL = en_US.UTF-8
max_output_buffer = 16777216

[targets]
1/low = 2
1/normal = 5
1/high = 10
global = 3