Manpages DH_INSTALLINITSection: Debhelper (1)Updated: 2002-01-27 Index Return to Main Contents NAMEdh_installinit - install init scripts into package build directoriesSYNOPSISdh_installinit [debhelper options] [--init-script=scriptname] [-n] [-r] [-d] [-- params]DESCRIPTIONdh_installinit is a debhelper program that is responsible for installing init scripts and associated defaults files into package build directories.It also automatically generates the postinst and postrm and prerm commands needed to set up the symlinks in /etc/rc*.d/ and to start and stop the init scripts. If a file named debian/package.init exists, then it is installed into etc/init.d/package in the package build directory, with ``package'' replaced by the package name. If a file named debian/package.default exists, then it is installed into etc/default/package in the package build directory, with ``package'' replaced by the package name. Historically this program generates postrm and prerm commands that run the init scripts by hand. In V4 mode, it uses the invoke-rc.d program instead. See debhelper(1) for details about V4 mode. If you decide to use this, you should make your package depend on sysvinit (>= 2.80-1) (this dependency is added to ${misc:Depends} by this program in V4 mode). OPTIONS
NOTESNote that this command is not idempotent. ``dh_clean -k'' should be called between invocations of this command. Otherwise, it may cause multiple instances of the same text to be added to maintainer scripts.SEE ALSOdebhelper(1)This program is a part of debhelper. AUTHORJoey Hess <joeyh@debian.org>
IndexThis document was created by man2html, using the manual pages. Time: 16:09:43 GMT, May 08, 2025 |