Feature #1603
open
Support traditional SysV-style daemon initialization scheme
Added by Davide Pesavento almost 11 years ago.
Updated almost 4 years ago.
Description
On older Linux systems, or on distributions that do not use systemd/upstart, or on BSD systems, it may be useful to implement the "old-style" daemon initialization scheme with double forking, as described here under the SysV Daemons subsection.
libdaemon MAY be used to implement this feature.
In any case, as the linked document points out, the old-style behavior MUST be optional and configurable via a command line argument.
- Target version set to Unsupported
None of the supported platforms need this.
Please name at least one platform (could be unsupported) that uses sysV daemon, so this task could be tested.
Debian 6 (squeeze) and 7 (wheezy) still use SysV init (I believe this will change in Debian 8).
Gentoo/Linux and NetBSD use OpenRC by default, which, although having a more sophisticated dependency-based system, is still backwards compatible with traditional daemons and can thus be used for testing.
Even upstart supports old-style forking daemons through the "expect
" stanza (http://upstart.ubuntu.com/cookbook/#expect).
- Tracker changed from Task to Feature
- Start date deleted (
05/15/2014)
- Target version deleted (
Unsupported)
Also available in: Atom
PDF