Re: Xinetd
2002-09-10 09:44:00
On Tuesday 10 September 2002 07:50, Mozzi wrote:
>Hi all
>
>In the doc/README I have to enter the following line in inetd.conf
>amandaidx stream tcp nowait USER AMINDEXD_PATH amindexd
>
>How will I do it for xinetd ?
>I know it is a file in xinetd.d
>looking @ the basic structure of other files there
>{
> type = INTERNAL UNLISTED
> port = 1082
> socket_type = stream
> protocol = tcp
> wait = no
> only_from = 127.0.0.1
>}
>
>My guess would be
>{
> type = amandaidx
> port = 10082
> socket_type = stream
> protocol = tcp
> wait = no
> only_from = 127.0.0.1
>}
>
>Is this right ?
>
>Tnx all
>
>Mozzi
You'll need all three similar files, or one file listing all 3 seems
to work just as well. Here is mine thats not been touched in some
months, working fine.
---------------------
# default = off
#
# description: Part of the Amanda server package
# This is the list of daemons & such it needs
service amanda
{
disable = no
socket_type = dgram
protocol = udp
wait = yes
user = amanda
group = disk
groups = yes
server = /usr/local/libexec/amandad
}
service amandaidx
{
disable = no
socket_type = stream
protocol = tcp
wait = no
user = amanda
group = disk
groups = yes
server = /usr/local/libexec/amindexd
}
service amidxtape
{
disable = no
socket_type = stream
protocol = tcp
wait = no
user = amanda
group = disk
groups = yes
server = /usr/local/libexec/amidxtaped
}
---------------------------------------
You may have to adjust the group line to fit your amanda's
memberships.
--
Cheers, Gene
AMD K6-III@500mhz 320M
Athlon1600XP@1400mhz 512M
99.14% setiathome rank, not too shabby for a WV hillbilly
|
|
|