-
Notifications
You must be signed in to change notification settings - Fork 5
/
upq.cfg.example
123 lines (104 loc) · 2.49 KB
/
upq.cfg.example
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
[daemon]
# detach_process = true
# umask = 022
# pidfile = /var/run/upq.pid
# chroot_directory =
# uid =
# gid =
[logging]
# loglevel = {debug, info}
loglevel = info
# log_format = %(asctime)s %(levelname)-8s %(module)s.%(funcName)s:%(lineno)d %(message)s
logfile = /var/log/upq.log
[paths]
## paths beginning with "./" are treated as relative to path of this cfg file
socket = /var/run/upq-incoming.sock
# socket_chmod = 660
# jobs_dir = ./jobs
## directory that is regulary scanned for new files
#uploads = ./uploads
# where files are finally stored
files = ./files
# metadata
metadata= ./metadata
# where broken files are moved to
broken = ./broken
# temp directory
tmp = ./tmp
[db]
url= mysql://user:password@hostname/dbname
#debug = false
##relative paths don't work (?)
#url = sqlite:////tmp/upq.db
[job hash]
enabled = true
concurrent = 2
[job new_file]
# needs filepath
enabled = true
# number of max. concurrent executions of this job, 0 means the main server will
# handle it syncroniously (connection blocking!)
concurrent = 3
# notify_fail =
# notify_success =
subjobs = extract_metadata hash createtorrent upload sf_sync
[job download]
enabled = true
concurrent = 1
subjobs = new_file extract_metadata hash createtorrent upload sf_sync
[job archive_file]
enabled = true
concurrent = 2
[job verify_local_file]
# needs fid
enabled = true
concurrent = 2
#notify_fail = mail:[email protected],[email protected] syslog
[job verify_remote_file]
# needs fmfid and fmid
enabled = true
concurrent = 2
[job upload]
enabled = true
concurrent = 2
path = /var/www/springfiles/
#path that is excluded for uploaded structure
prefix = sites/default/files/
[job test]
enabled = true
concurrent = 100
#notify_success = syslog mail:[email protected]
#notify_fail = syslog mail:[email protected]
[job remote_md5]
enabled = true
concurrent = 2
[job list_queue]
enabled = true
concurrent = 2
format = %(jobid)s %(jobname)s %(starttime)s %(status)s
sort = jobid
[job move_file_to_archive]
enabled = true
concurrent = 2
[job extract_metadata]
enabled = true
concurrent = 1
unitsync=/home/abma/local/spring/master/lib/libunitsync.so
; directory where to move maps to, relative to datadir
maps-path=maps
; directory where to move games to, relative to datadir
games-path=games
;keep the temporary directory?
;keeptemp=yes
[job notify]
enabled = true
concurrent = 1
from = root@localhost
[job rapidsync]
enabled = true
concurrent = 1
mainrepo=http://repos.springrts.com/repos.gz
temppath=/tmp
[job createtorrent]
enabled = true
concurrent = 1