File: ndtpd.conf.sample.in

package info (click to toggle)
ndtpd 2.3.6-3
  • links: PTS
  • area: main
  • in suites: potato
  • size: 5,688 kB
  • ctags: 3,377
  • sloc: ansic: 24,078; sh: 7,530; perl: 1,335; makefile: 646
file content (102 lines) | stat: -rw-r--r-- 2,513 bytes parent folder | download
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
######################################################################
# Configuration file for NDTPD.
# (Copy this file to `ndtpd.conf', and edit it.)
######################################################################

### Hostname of the server.
### (default: defined automatically)
# server-name		host.your.domain

### Port number `ndtpd' binds.
### (default: ndtp)
# ndtp-port		ndtp

### Owner of the `ndtpd' process.
### (default: none)
user			ndtpuser

### Group of the `ndtpd' process.
### (default: none)
group			ndtpgrp

### How many clients can be connected to `ndtpd' at the same time.
### (default: 1)
# max-clients		1

### Which hosts can or cannot connect to `ndtpd'.
### (default: none)
hosts			127.0.0.1
hosts			!?
hosts			host.your.domain

### Timeout seconds until `ndtpd' disconnects an idle connection.
### (default: 900)
# timeout		900

### Which of hosts Identification Protocol is used to.
### (default: none)
# ident-hosts		!*

### Timeout seconds until `ndtpd' gives up identifying a remote user.
### (default: 30)
# ident-timeout		30

### Path to a working directory.
### Please create the directory and make it be writable for the ndtpd
### processes before executing `ndtpd'.
### (default: @pkglocalstatedir@)
# work-path		@pkglocalstatedir@

### How many hit entries `ndtpd' tries to find at a search.
### (default: 50)
# max-hits		50

### The maximum size of text the server may send as a response to
### a client.
### (default: 32768)
# max-text-size		32768

### Syslog facility
### (default: daemon)
syslog-facility		local0

###
### Book entry
###
begin book
    ### Name of the book.
    ### (required)
    name		JITENBAN97

    ### Title of the book.
    ### (required)
    title		Jitenban 97

    ### Path to a top directory of the book.
    ### (required)
    path		/cdrom

    ### Path to a top directory of the appdendix data of the book.
    ### (default: none)
    appendix-path	@datadir@/eb/appendix/jitenban97-2.1

    ### How many clients can access the book at the same time.
    ### (default: 1)
    max-clients		1

    ### Which hosts can or cannot access to the book.
    ### (default: none)
    hosts		127.0.0.1
    hosts		!?
    hosts		host.your.domain

    ### Aliases.
    ### (default: none)
    alias-eiwa		CHUJITEN
    alias-waei		CHUJITEN
    alias-kojien	IWAKOKU
end

### Add a book group directive (lines between `begin book' and `end'),
### if you want to read another CD-ROM book through NDTPD.  A book group
### directive is required for each book.