From b5e5cdf81e86a95f45a5864bc6604f0e830557db Mon Sep 17 00:00:00 2001 From: Hidden Z Date: Sat, 30 Oct 2010 18:16:16 +0000 Subject: [PATCH] Add default configs --- conf/checker.conf | 4 ++++ conf/common.conf | 1 + conf/fetcher.conf | 8 ++++++++ conf/injector.conf | 3 +++ 4 files changed, 16 insertions(+) create mode 100644 conf/checker.conf create mode 100644 conf/common.conf create mode 100644 conf/fetcher.conf create mode 100644 conf/injector.conf diff --git a/conf/checker.conf b/conf/checker.conf new file mode 100644 index 0000000..2d1c620 --- /dev/null +++ b/conf/checker.conf @@ -0,0 +1,4 @@ +include = /etc/py-i2phosts/common.conf + +log_level = info # debug, info, warning, error, critical +log_file = /var/log/py-i2phosts/checker.log diff --git a/conf/common.conf b/conf/common.conf new file mode 100644 index 0000000..84fd753 --- /dev/null +++ b/conf/common.conf @@ -0,0 +1 @@ +DJANGO_PROJECT_PATH = /var/www/py-i2phosts diff --git a/conf/fetcher.conf b/conf/fetcher.conf new file mode 100644 index 0000000..b44fd07 --- /dev/null +++ b/conf/fetcher.conf @@ -0,0 +1,8 @@ +include = /etc/py-i2phosts/common.conf + +log_level = debug # debug, info, warning, error, critical +log_file = /var/log/py-i2phosts/fetcher.log + +proxyurl = http://localhost:4444/ + +sources = http://www.i2p2.i2p/hosts.txt, http://stats.i2p/cgi-bin/newhosts.txt, http://i2host.i2p/cgi-bin/i2hostetag, http://tino.i2p/hosts.txt, http://dream.i2p/hosts.txt, http://cipherspace.i2p/addressbook.txt, http://hosts.i2p/hosts.cgi?filter=all, http://lurker.i2p/hosts.txt diff --git a/conf/injector.conf b/conf/injector.conf new file mode 100644 index 0000000..6086af3 --- /dev/null +++ b/conf/injector.conf @@ -0,0 +1,3 @@ +include = /etc/py-i2phosts/common.conf + +approve = yes