~ubuntu-branches/ubuntu/saucy/nut/saucy

« back to all changes in this revision

Viewing changes to man/ups.conf.5

  • Committer: Bazaar Package Importer
  • Author(s): Reinhard Tartler
  • Date: 2005-07-20 19:48:50 UTC
  • mto: (16.1.1 squeeze)
  • mto: This revision was merged to the branch mainline in revision 4.
  • Revision ID: james.westby@ubuntu.com-20050720194850-oo61wjr33rrx2mre
Tags: upstream-2.0.2
ImportĀ upstreamĀ versionĀ 2.0.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
.TH UPS.CONF 5 "Mon May 19 2003" "" "Network UPS Tools (NUT)" 
 
1
.TH UPS.CONF 5 "Sun Aug 24 2003" "" "Network UPS Tools (NUT)" 
2
2
.SH NAME
3
3
ups.conf \- UPS definitions for Network UPS Tools
4
4
 
28
28
.LP
29
29
 
30
30
A slightly more complicated version includes some extras for the
31
 
hardware-specific part of the driver:
 
31
hardware\(hyspecific part of the driver:
32
32
 
33
33
.IP
34
34
.nf
35
35
        [bigups]
36
36
                driver = apcsmart
37
37
                port = /dev/cua00
38
 
                cable = 940-0095B
 
38
                cable = 940\-0095B
39
39
                sdtype = 2
40
40
                desc = "Database server UPS"
41
41
.fi
47
47
 
48
48
.SH GLOBAL DIRECTIVES
49
49
 
 
50
.IP chroot
 
51
Optional.  The driver will \fBchroot\fR(2) to this directory during
 
52
initialization.  This can be useful when securing systems.
 
53
 
 
54
.IP driverpath
 
55
Optional.  Path name of the directory in which the UPS driver executables
 
56
reside.  If you don't specify this, the programs look in a built\(hyin default
 
57
directory, which is often /usr/local/ups/bin.
 
58
 
50
59
.IP maxstartdelay
51
60
Optional.  Same as the UPS field of the same name, but this is the
52
61
default for UPSes that don't have the field.
57
66
This may be useful if the driver is creating too much of a load on your
58
67
system or network.
59
68
 
60
 
.IP driverpath
61
 
Optional.  Path name of the directory in which the UPS driver executables
62
 
reside.  If you don't specify this, the programs look in a built-in default
63
 
directory, which is often /usr/local/ups/bin.
 
69
.IP user
 
70
Optional.  If started as root, the driver will \fBsetuid\fR(2) to the 
 
71
user id associated with \fIusername\fR.
64
72
 
65
73
.SH UPS FIELDS
66
74
.IP driver
78
86
Optional.  When you have multiple UPSes on your system, you usually need
79
87
to turn them off in a certain order.  upsdrvctl shuts down all the 0s,
80
88
then the 1s, 2s, and so on.  To exclude a UPS from the shutdown sequence,
81
 
set this to -1.
 
89
set this to \-1.
82
90
 
83
91
The default value for this parameter is 0.
84
92
 
104
112
The default is 45 seconds.
105
113
.LP
106
114
 
107
 
All other fields are passed through to the hardware-specific part of the
 
115
All other fields are passed through to the hardware\(hyspecific part of the
108
116
driver.  See those manuals for the list of what is allowed.
109
117
 
110
118
.SH INTEGRATION