SOURCES: pykota-conf.patch (NEW) - sqlite as default storage - pro...
baggins
baggins at pld-linux.org
Sun Dec 9 01:18:43 CET 2007
Author: baggins Date: Sun Dec 9 00:18:43 2007 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- sqlite as default storage
- proper path to sqlite db
---- Files affected:
SOURCES:
pykota-conf.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/pykota-conf.patch
diff -u /dev/null SOURCES/pykota-conf.patch:1.1
--- /dev/null Sun Dec 9 01:18:43 2007
+++ SOURCES/pykota-conf.patch Sun Dec 9 01:18:38 2007
@@ -0,0 +1,63 @@
+diff -ur pykota-1.26/conf/pykota.conf.sample pykota-1.26-conf/conf/pykota.conf.sample
+--- pykota-1.26/conf/pykota.conf.sample 2007-12-06 19:51:31.000000000 +0100
++++ pykota-1.26-conf/conf/pykota.conf.sample 2007-12-09 01:09:47.000000000 +0100
+@@ -56,8 +56,8 @@
+ # SQLite3 : comment this section out if you use another backend #
+ ####################################################################
+
+-#storagebackend : sqlitestorage
+-#storagename: /etc/pykota/pykota.db
++storagebackend : sqlitestorage
++storagename: /var/lib/pykota/pykota.db
+
+ ####################################################################
+
+@@ -66,17 +66,17 @@
+ ############################################################################
+ # PostgreSQL or MySQL: comment this section out if you use another backend #
+ ############################################################################
+-storagebackend: pgstorage
+-# storagebackend: mysqlstorage
++#storagebackend: pgstorage
++#storagebackend: mysqlstorage
+
+ # Quota Storage Server hostname (and optional port)
+ # e.g. db.example.com:5432 (for PostgreSQL) or db.example.com:3306 (for MySQL)
+ # NB : leave the directive empty to use unix sockets (same host only)
+-storageserver: localhost
++#storageserver: localhost
+
+ #
+ # name of the Quota Storage Database
+-storagename: pykota
++#storagename: pykota
+
+ #
+ # Quota Storage normal user's name and password
+@@ -87,9 +87,9 @@
+ # DATABASE, OTHERWISE ANY USER WHO COULD READ THIS CONFIGURATION
+ # FILE COULD CHANGE HIS PRINT QUOTA.
+ #
+-storageuser : pykotauser
++#storageuser : pykotauser
+ # In the line below change the password's value if needed.
+-storageuserpw : readonlypw
++#storageuserpw : readonlypw
+
+ ############################################################################
+
+diff -ur pykota-1.26/conf/pykotadmin.conf.sample pykota-1.26-conf/conf/pykotadmin.conf.sample
+--- pykota-1.26/conf/pykotadmin.conf.sample 2007-12-06 19:51:31.000000000 +0100
++++ pykota-1.26-conf/conf/pykotadmin.conf.sample 2007-12-09 01:10:11.000000000 +0100
+@@ -63,9 +63,9 @@
+
+ # PostgreSQL's or MySQL's Quota Storage administrator's name and password
+ # Please comment these lines out and see further below if you use LDAP.
+-storageadmin : pykotaadmin
++#storageadmin : pykotaadmin
+ # In the line below change the password's value if needed.
+-storageadminpw : readwritepw
++#storageadminpw : readwritepw
+
+ # storagebackend: ldapstorage
+ # storageserver: ldap://ldapmaster.example.com:389
================================================================
More information about the pld-cvs-commit
mailing list