blob: 360e90224a1156d32c88547a4556b8feeb8e8619 (
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
|
# Communique Config file
# domain to use for URL generation
# *must* match incoming Host: header or else HTTP signatures will fail verification
domain = "http://localhost:8080" # required
# path to database directory
dbPath = "communique.db" # required
# each handler has its own [[handlers]] block
[[handlers]]
# name of the actor for this handler
# *must* be only A-Za-z0-9, no special characters or spaces allowed
name = "sample" # required
# path to CGI script
exec = "sample-cgi-handler.sh" # required
# how often to execute CGI script
interval = "5s" # required
# actor bio
summary = "sample bot" # optional
# deduplication window, 0 by default, which is NO deduplication
dedupWindow = "30s" # optional
# avatar url
avatarUrl = "https://loremflickr.com/320/240/dog" # optional
# expected content type of avatar url
avatarContentType = "image/jpeg" # required (if using avatarUrl)
# [[handlers]]
# name = "another"
# exec = "another-cgi-handler.sh"
# interval = "10"
|