]> git.donarmstrong.com Git - debhelper.git/blob - dh_installinit.1
r275: No idea.
[debhelper.git] / dh_installinit.1
1 .TH DH_INSTALLINIT 1
2 .SH NAME
3 dh_installinit \- install init scripts into package build directories
4 .SH SYNOPSIS
5 .B dh_installinit
6 .I "[-v] [-a] [-i] [-ppackage] [-Ptmpdir] [-n] [-r] [-d] [-u params]"
7 .SH "DESCRIPTION"
8 dh_installmenu is a debhelper program that is responsible for installing
9 init scripts into package build directories. 
10 .P
11 It also automatically generates the postinst and postrm and prerm commands 
12 needed to set up the symlinks in /etc/rc*.d/ and to start and stop the init
13 scripts.
14 .P
15 If a file named debian/init exists, then it is installed into
16 etc/init.d/package in the package build directory (with "package" replaced
17 by the package name, unless the -d flag is specified, see below)
18 .P
19 For packages other than the first binary package listed in
20 the control file, use debian/package.init instead (replace "package" with 
21 the name of the package.)
22 .SH OPTIONS
23 .TP
24 .B \-v
25 Verbose mode; show all commands that modify the package build directory.
26 .TP
27 .B \-a
28 Install init scripts into all architecture dependent packages.
29 .TP
30 .B \-i
31 Install init scripts into all architecture independent packages.
32 .TP
33 .B \-ppackage
34 Install init scripts into the package named "package".
35 .TP
36 .B \-Ptmpdir
37 Use "tmpdir" for package build directory. 
38 .TP
39 .B \-n
40 Do not modify postinst/postrm/prerm scripts.
41 .TP
42 .B \-r
43 Do not restart daemon on upgrade.
44 .TP
45 .B \-d
46 Remove trailing "d" from the name of the package, and use the result for the
47 filename the init script is installed as in etc/init.d/ . This may be useful
48 for daemons with named ending in "d".
49 .TP
50 .B \-u params
51 Pass "params" to 
52 .BR update-rc.d (8)
53 If not specified, "default" will be passed to
54 .BR update-rc.d (8)
55 .SH NOTES
56 The
57 .B \-a
58 .B \-i
59 and
60 .B \-p
61 arguments are cumulative. If none are specified, then all packages listed in
62 the control file will be effected.
63 .SH ENVIRONMENT
64 .TP
65 .I DH_VERBOSE
66 Enables verbose mode
67 .SH "SEE ALSO"
68 .BR /usr/doc/debhelper/README
69 .SH AUTHOR
70 Joey Hess <joeyh@master.debian.org>