~ubuntu-branches/ubuntu/oneiric/cvsd/oneiric

« back to all changes in this revision

Viewing changes to debian/templates

  • Committer: Bazaar Package Importer
  • Author(s): Arthur de Jong
  • Date: 2004-04-17 12:00:00 UTC
  • Revision ID: james.westby@ubuntu.com-20040417120000-r8kjxyw52szursq7
Tags: 1.0.2
* added Danish (da) debconf translation by Claus Hindsgaul
  (closes: #234897)
* debconf limit choicelist is now also translated
* updated German (de) debconf translation by Jens Seidel
* updated French (fr) debconf translation by Christian Perrier
* init script now uses kill -0 <pid> to get cvsd status
* repositories debconf question now uses correct chroot jail

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Template: cvsd/rootjail
 
2
Type: string
 
3
Default: /var/lib/cvsd
 
4
_Description: Location of chroot jail:
 
5
 cvsd can run in a chroot jail. This is the preferred method of
 
6
 operation. Specify the location of the chroot jail. If you make this
 
7
 'none' no chroot jail will be created and used.
 
8
 A chroot file hierarchy will be created in the specified location.
 
9
 
 
10
Template: cvsd/maxconnections
 
11
Type: string
 
12
Default: 10
 
13
_Description: The maximum number of connections that can be handled:
 
14
 It is possible to specify a maximum number of connections that cvsd
 
15
 can handle simultaneously. Specifying 0 (zero) will put no limit to
 
16
 the number of connections.
 
17
 
 
18
Template: cvsd/nice
 
19
Type: string
 
20
Default: 1
 
21
_Description: Nice value cvsd should run at:
 
22
 cvsd can be run at reduced priority so it will not take up too
 
23
 many resources, especially if a user specifies a -z option to cvs.
 
24
 The priority can also be increased (negative value here).
 
25
 
 
26
Template: cvsd/umask
 
27
Type: string
 
28
Default: 027
 
29
_Description: Umask cvsd should run at:
 
30
 Specify the umask cvsd and cvs should use when creating files.
 
31
 .
 
32
 The umask should be specified as an octal value and represents
 
33
 the permissions that should be taken away when creating a file
 
34
 (e.g. using 027 will create files with mode 640 or rw-r-----).
 
35
 
 
36
Template: cvsd/listen
 
37
Type: string
 
38
Default: * 2401
 
39
_Description: Address and port on which cvsd will listen:
 
40
 With the first argument you can specify the address cvsd should listen on.
 
41
 The '*' address specifies that cvsd should listen on all addresses.
 
42
 You can specify a IPv4 address, IPv6 address, a hostname or '*'.
 
43
 .
 
44
 The second argument is the service name (e.g. cvspserver) or port number
 
45
 (default 2401) cvsd will listen on.
 
46
 .
 
47
 The address and port should be separated by a space and you can specify multiple
 
48
 address-port combinations by separating them with spaces.
 
49
 
 
50
Template: cvsd/repositories
 
51
Type: string
 
52
Default: /demo:/myrepos
 
53
_Description: Repositories to serve:
 
54
 The whole idea of cvsd is to serve repositories. Specify a colon ':'
 
55
 separated list of repositories to serve. The location of these repositories
 
56
 is relative to the specified chroot jail (${rootjail}) and should start with a '/'.
 
57
 .
 
58
 The repositories here should be initialized by hand with something like
 
59
 'cvs -d ${rootjail}/myrepos init' after which passwords can be set with
 
60
 'cvsd-passwd ${rootjail}/myrepos anonymous'. See the file 
 
61
 /usr/share/doc/cvsd/README for details on creating repositories.
 
62
 
 
63
Template: cvsd/limits
 
64
Type: multiselect
 
65
__Choices: coredumpsize, cputime, datasize, filesize, memorylocked, openfiles, maxproc, memoryuse, stacksize, virtmem
 
66
_Description: Select resources of pserver processes to limit:
 
67
 The pserver wrapper can be configured to limit the resource usage that
 
68
 a pserver process can have. These resource limits will be set on each
 
69
 pserver process and not on the wrapper.
 
70
 .
 
71
 Choose from the list the resources that you want to limit.
 
72
 You will be asked to specify limits about every resource you selected here.
 
73
 .
 
74
 Note that not all resources may be available on all systems and that
 
75
 resources may be system and kernel specific so use these with caution.
 
76
 The results of exceeding the set limits may also be system specific
 
77
 but will most likely stop the cvs process and close the connection
 
78
 (may be problematic with write access to cvs repository).
 
79
 
 
80
Template: cvsd/limit_coredumpsize
 
81
Type: string
 
82
Default: 0
 
83
_Description: Maximum file size of a core dump:
 
84
 Set this to 0 (zero) (should be the system default) to prevent core dumps.
 
85
 Otherwise this limits the size of core dumps to the specified value.
 
86
 .
 
87
 This value may be specified with a suffix of 'b' (bytes), 'k'
 
88
 (1024 bytes) or 'm' (1024*1024  bytes), where 'k' is the default.
 
89
 
 
90
Template: cvsd/limit_cputime
 
91
Type: string
 
92
Default: 1:00
 
93
_Description: Maximum amount of cpu time consumed:
 
94
 This limits the amount of cpu seconds the cvs process can use.
 
95
 This will prevent too much cpu time from being allocated to a single connection.
 
96
 .
 
97
 This value can be formatted as 'mm:ss' or have a 'm' or 's'
 
98
 suffix where 's' is default.
 
99
 
 
100
Template: cvsd/limit_datasize
 
101
Type: string
 
102
Default: 10m
 
103
_Description: Maximum size of program's data segment:
 
104
 This limits the amount of memory the cvs program can use. This
 
105
 specific item limits the size of the data segment.
 
106
 .
 
107
 This value may be specified with a suffix of 'b' (bytes), 'k'
 
108
 (1024 bytes) or 'm' (1024*1024  bytes), where 'k' is the default.
 
109
 
 
110
Template: cvsd/limit_filesize
 
111
Type: string
 
112
Default: 1m
 
113
_Description: Maximum size of files created:
 
114
 This limits the maximum size of a file created by cvs.
 
115
 Note that the cvs pserver process needs to be able to create
 
116
 lock files and possibly write history or other files so
 
117
 don't set this to 0 (zero).
 
118
 .
 
119
 This value may be specified with a suffix of 'b' (bytes), 'k'
 
120
 (1024 bytes) or 'm' (1024*1024  bytes), where 'k' is the default.
 
121
 
 
122
Template: cvsd/limit_memorylocked
 
123
Type: string
 
124
Default: 10m
 
125
_Description: Maximum amount of locked memory:
 
126
 This limits the amount of memory the cvs process may lock.
 
127
 cvs probably doesn't need to lock any memory at all.
 
128
 .
 
129
 This value may be specified with a suffix of 'b' (bytes), 'k'
 
130
 (1024 bytes) or 'm' (1024*1024  bytes), where 'k' is the default.
 
131
 
 
132
Template: cvsd/limit_openfiles
 
133
Type: string
 
134
Default: 1024
 
135
_Description: Maximum number of open files:
 
136
 This limits the amount of files and connections that the cvs
 
137
 process can have open at a single moment. The cvs process needs
 
138
 to access quite a few files so don't set this too low.
 
139
 
 
140
Template: cvsd/limit_maxproc
 
141
Type: string
 
142
Default: 20
 
143
_Description: Maximum number of processes:
 
144
 This limits the maximum number of processes that a single user may have.
 
145
 cvs may need to spawn additional processes to run scripts or do subtasks
 
146
 so don't set this too low.
 
147
 
 
148
Template: cvsd/limit_memoryuse
 
149
Type: string
 
150
Default: 10m
 
151
_Description: Maximum size of resident memory:
 
152
 This specifies the amount of physical memory a process may have.
 
153
 .
 
154
 This value may be specified with a suffix of 'b' (bytes), 'k'
 
155
 (1024 bytes) or 'm' (1024*1024  bytes), where 'k' is the default.
 
156
 
 
157
Template: cvsd/limit_stacksize
 
158
Type: string
 
159
Default: 10m
 
160
_Description: Maximum stack size:
 
161
 This limits the size of the stack.
 
162
 .
 
163
 This value may be specified with a suffix of 'b' (bytes), 'k'
 
164
 (1024 bytes) or 'm' (1024*1024  bytes), where 'k' is the default.
 
165
 
 
166
Template: cvsd/limit_virtmem
 
167
Type: string
 
168
Default: 10m
 
169
_Description: Maximum amount of virtual memory allocated:
 
170
 This limits the total amount of virtual memory a process may have allocated.
 
171
 .
 
172
 This value may be specified with a suffix of 'b' (bytes), 'k'
 
173
 (1024 bytes) or 'm' (1024*1024  bytes), where 'k' is the default.
 
174
 
 
175
Template: cvsd/limit_pthreads
 
176
Type: string
 
177
Default: 20
 
178
_Description: Maximum number of threads:
 
179
 This limits the number of threads that a single process may have.
 
180
 .
 
181
 This is not available under Linux so it is not in the list
 
182
 for cvsd/limits. If Hurd has it it may be useful.
 
183
 
 
184
Template: cvsd/remove_chroot
 
185
Type: boolean
 
186
Default: false
 
187
_Description: Remove chroot jail containing repositories?
 
188
 The following directory is configured as a chroot jail for cvsd:
 
189
   ${rootjail}
 
190
 You may choose to remove the chroot jail but you will also lose all the
 
191
 repositories inside the chroot jail. If you have not backed up your
 
192
 repositories you want to keep do not remove it now and manually remove
 
193
 it later once your repositories are safe.
 
194
 .
 
195
 If you do choose to remove the chroot directory, all directories under
 
196
 it will be removed, even if they are on another file system.
 
197
 .
 
198
 If you choose to keep the chroot jail please note that the cvsd user and
 
199
 group will be removed so uid and gid file information may no longer be
 
200
 consistent.