File: latd.conf.5

package info (click to toggle)
latd 1.34
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 1,904 kB
  • ctags: 1,090
  • sloc: cpp: 8,485; sh: 879; makefile: 89
file content (52 lines) | stat: -rw-r--r-- 1,261 bytes parent folder | download | duplicates (7)
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
.TH LATD.CONF 5 "June 2 2000" "LAT Server"

.SH NAME
latd.conf \- LAT configuration file
.SH SYNOPSIS
.B /etc/latd.conf

.SH DESCRIPTION
.PP
/etc/latd.conf is a shell script (run by /bin/sh) that is run when
latd is started up using the latcp -s command.
.br
It contains commands used to customise lat for your site and usually
consists of a list of latcp commands.
.br
latd.conf is run with a minimal PATH and a minimal environment. The
variable $LATCP points to the latcp binary used to invoke the script.

.SS EXAMPLE
.nf
.ft CW
.in +3n
# /etc/latd.conf
# This is a sample configuration file for latd
# it is run as s shell script from latcp -s with a minimal
# environment and PATH. latcp should be invoked using the
# environment variable $LATCP.
#
# You can fiddle with all the latd parameters you like in here, 
# the first service announcement will not be made until this 
# script completes.
#

# Set the multicast timeout to 30 seconds
$LATCP -m 30 

# Add another login service
$LATCP -A -a ZAPHOD -r 100

# Add a queued reverse LAT service to a printer on a DECserver
$LATCP -A -p /dev/lat/printer -Hdecserver -Vdecserver -Q

# Only advertise our service in groups 1-10 and 200
$LATCP -G 1-10,200

exit




.SS SEE ALSO
.BR latcp "(8), " latd "(8)"