If youĭon't use their init script then create a new one in If your upstream program provides a file for the init script, you can either use it or not. If your init script has certain configurableįeatures, you can set them in the fault file, Is most often used to set some default flags or Please read dh_installinit(1) dh_installsystemd(1) to provide startup script.įile sets defaults that are sourced by the init script. Obviously disregarded my initial recommendation, haven't you? :-) If your package is a daemon that needs to be run at system start-up, you've If the program you're packaging requires every user to modify the configurationįiles in the /etc directory, there are two popular ways toĪrrange for them to not be conffiles, keeping dpkg quiet: Then prompt users to verify the changes all the time. It's best not to make them conffiles because dpkg will If your program uses configuration files but also rewrites them on its own, etc, and so this file doesn't need to exist. Package types, the only place conffiles should ever be is under Has conffiles there you do not need to specify them in this file. The /etc directory as conffiles, so if your program only When you upgrade a package, you'll be asked whether you want to keepĭh_installdeb(1) automatically flags any files under Debian solves this problem by marking such configuration files as conffiles. Of time and effort customizing a program, only to have an upgrade stomp all One of the most annoying things about software is when you spend a great deal If you wish or need to activate any of these, please do the following: Such cases, you need to create them with an editor. May not be created by the dh_make command. Some template configuration files for debhelper Referred to without the leading debian/ for simplicity whenever In this chapter, files in the debian directory are The dh_make command will create some template configuration While building the package, you put optional configuration files under theĭebian directory. The debmake command is used in place of the dh_make command in my new Guide for Debian Maintainers. Please use this new tutorial as the primary tutorial document. The rewrite of this tutorial document with updated contents and more practical examples is available as Guide for Debian Maintainers. So some parts of this document aren't applicable any more. The dh_make command had major updates since this old document was written.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |