(debian-policy.info)Interfacing with init systems


Next: Boot-time initialization Prev: Writing the scripts Up: System run levels and init d scripts
Enter node , (file) or (file)node

9.3.3 Interfacing with init systems
-----------------------------------

Maintainers should use the abstraction layer provided by the
‘update-rc.d’ and ‘invoke-rc.d’ programs to deal with initscripts in
their packages’ scripts such as ‘postinst’, ‘prerm’ and ‘postrm’.

Directly managing the /etc/rc?.d links and directly invoking the
‘/etc/init.d/’ initscripts should be done only by packages providing the
initscript subsystem (such as ‘sysv-rc’ and ‘file-rc’).

Managing the links
Running initscripts

automatically generated by info2www version 1.2.2.9