-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig-template.php
48 lines (37 loc) · 1.53 KB
/
config-template.php
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
<?php
/*
Sparkle Posse Configuration
The only required configuration parameter is log_glob_pattern. The default below is
for a typical plain vanila Apache webhost setup (such as on OS X Server). The exact glob
pattern will depend on your server/webhost and log-rotation setup.
Sparkle Posse uses the glob pattern to z-grep the logs for Sparkle profile checks.
In a shell, you can test your glob pattern the same way in order to check that the
glob lists at least 7 days:
% zgrep Sparkle /my-log-path/access.*
Log glob patterns for common WebHosts:
DreamHost:
$user = 'me';
$host = 'example.com';
$log_path = "/home/$user/logs/$host/http";
$config['log_glob_pattern'] = "$log_path/access.log.2* $log_path/access.log";
*/
/*
* Required Log glob pattern:
* log_glob_pattern - a glob pattern to feed to zgrep to extract 1-4 weeks of logs.
*/
$config['log_glob_pattern'] = "/var/log/apache2/access_log*";
/*
* Optional Shepard Fairey style "André the Giant Has a Posse" parody sticker:
* appIcon - URL of large (256px+) app icon to be rendered xerox-style in the sticker.
* ringName - Optional 3-line ring-name (wrestling alias) for app.
* (Use non-break spaces for indenting)
*/
//$config['appIcon'] = "Sparkle.png";
//$config['ringName'] = ["Sparke", " the", "Updater"];
/*
* Optional Server-side GeoIP support:
* geoip_city_db - path to MaxMind's GeoIP2 database
*
* Note: requires GeoIP2 package and DB. See https://github.com/maxmind/GeoIP2-php
*/
//$config['geoip_city_db'] = "/usr/local/var/GeoIP/GeoLite2-City.mmdb";