root / pykota / trunk / conf / pykota.conf.sample @ 789

Revision 787, 1.7 kB (checked in by jalet, 22 years ago)

incorrect external requester sample

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1# PyKota sample configuration file
2#
3# Copy this file in cups' configuration directory
4# usually /etc/cups under the name pykota.conf
5#
6# PyKota - Print Quotas for CUPS
7#
8# (c) 2003 Jerome Alet <alet@librelogiciel.com>
9# You're welcome to redistribute this software under the
10# terms of the GNU General Public Licence version 2.0
11# or, at your option, any higher version.
12#
13# You can read the complete GNU GPL in the file COPYING
14# which should come along with this software, or visit
15# the Free Software Foundation's WEB site http://www.fsf.org
16#
17# $Id$
18#
19
20[global]
21# Storage backend for quotas
22# only PostgreSQL is supported
23# Ldap, MySQL, Berkeley are planned
24storagebackend: postgresql
25storageserver: localhost
26storagename: pykota
27storageadmin: pykotaadmin
28storageuser: pykotauser
29# storageadminpw: NOT YET SUPPORTED
30# storageuserpw: NOT YET SUPPORTED
31
32# Where to log ?
33# supported values : stderr, system (system means syslog, but don't use 'syslog' here)
34logger: system
35
36# Print Quota administrator
37admin: Jerome Alet
38adminmail: alet@librelogiciel.com
39#
40# Mail server to use to warn users
41smtpserver: localhost
42#
43# Accounting method
44# Only LAZY is currently supported, see documentation
45method: lazy
46#
47# Grace delay in days
48gracedelay: 7
49
50# one section per printer
51[lp]
52#
53# How to query the lp printer for its page counter
54# Only snmp(community, oid) and external(command) are supported
55# e.g. :
56#     external(snmpget -c public -Ov %(printer)s 43.10.2.1.4.1.1 | cut -f 2,2 -d " ")
57# and :
58#     snmp(public, 43.10.2.1.4.1.1)
59# are equivalent
60# requester: snmp(public, 43.10.2.1.4.1.1)
61requester: external(snmpget -c public -Ov %(printer)s 43.10.2.1.4.1.1 | cut -f 2,2 -d " ")
62#
63# Default policy for inexistant users (e.g. root)
64# either allow or deny
65policy: allow
Note: See TracBrowser for help on using the browser.