Daemon turns other process into daemons. There are many tasks that need to be performed to correctly set up a daemon process. This can be tedious. Daemon performs these tasks for other processes. This is useful for writing daemons in languages other than C, C++ or Perl (e.g. /bin/sh, Java).
If you want to write daemons in languages that can link against C functions (e.g. C, C++), see libslack which contains the core functionality of daemon.
Daemon is freely available under the GNU General Public License.
Sets up the correct process context for a daemon.
Behaves sensibly when started by initd(8) or inetd(8).
Revokes any setuid or setgid privileges to reduce security risks in case daemon is incorrectly installed with special privileges.
Prevents the generation of core files to prevent leaking sensitive information from daemons run as root (optional).
Names the daemon by creating and locking a PID file to guarantee that only one daemon with the given name can execute at any given time (optional).
Sets the user and group under which to run the daemon (optional, root only).
Creates a chroot gaol (optional, root only).
Captures the daemon's stdout and stderr and directs them to syslog (optional).
Respawns the daemon when it terminates (optional).
Automatically terminates the daemon when the user logs out (optional, only on systems with systemd-logind(8) or elogind(8)).
Configuration files to define default options for different daemons (optional).
For more information read the Documentation.
Currently, daemon is only known to compile and work on:
It is written in ISO C using POSIX almost exclusively except for some BSD functions that appear on most systems (e.g. sockets). So it shouldn't be difficult to get it working on other (recent) systems that support ISO C, POSIX and XPG4.
There is a README file and a manual entry:
README |
- | Description, Install, Requirements, Copying, History |
INSTALL |
- | Installation, binary packages, requirements, platform notes |
COPYING |
- | Copyright information |
LICENSE |
- | GNU General Public Licence Version 2 |
REFERENCES |
- | References |
CHANGELOG |
- | History |
daemon(1) |
- | turns other processes into daemons (source) |
Latest: |
daemon-0.8.4.tar.gz
|
(SHA256 fa28859ad341cb0a0b012c11c271814f870482013b49f710600321d379887cd1 )
|
daemon-0.8.4-html.tar.gz
|
(SHA256 ddca2f9efdc8b6891186503571695095bed02ab297433f3e1c1086a37c4cadf9 )
|
|
Previous: |
daemon-0.8.3.tar.gz
|
(SHA256 bd6fd870ca4761f43f045d72db0f8a0de81a3eac07264bf449b152d7dd899ac0 )
|
daemon-0.8.3-html.tar.gz
|
(SHA256 6b643c0dd78ccfb03b0f90e38e3daf438ae584636d0944859b84f874999026f4 )
|
|
daemon-0.8.2.tar.gz
|
(SHA256 b34b37543bba43bd086e59f4b754c8102380ae5c1728b987c890d5da4b4cf3ca )
|
|
daemon-0.8.2-html.tar.gz
|
(SHA256 f311ef512c3cbcb5358d368052b49eca2ce9b1e1e26001e5bd1020bb52c5541d )
|
|
daemon-0.8.1.tar.gz
|
(SHA256 938a42d6c80d2cc919b40845db6c82e747adbe03b2daab91510a3194c26c8e6d )
|
|
daemon-0.8.1-html.tar.gz
|
(SHA256 74c87fe7889b1292b1f4d66a1e42cca4f0b0b62aca855e45b512bbf61912fcbf )
|
|
daemon-0.8.tar.gz
|
(SHA256 74f12e6d4b3c85632489bd08431d3d997bc17264bf57b7202384f2e809cff596 )
|
|
daemon-0.8-html.tar.gz
|
(SHA256 98b103e9074e2da06cd887a4a84ec9bc8c4181e553c94f6da65ef08fbc47c1eb )
|
|
daemon-0.7.1.tar.gz
|
(SHA256 ba1f6dc87532c852bfb8f436179cd661c3458ff898f67767c414123198626dfd )
|
|
daemon-0.7.1-html.tar.gz
|
(SHA256 8e1845f0d68a284dd96ad9e10f0046b70e6d0e6c7c05cb2794202dcc814bd105 )
|
|
daemon-0.7.tar.gz
|
(SHA256 f66af2ece784c16dcb5219de1f4fa3ae5787bb3374e44bd4b1d3e275e8ff272c )
|
|
daemon-0.7-html.tar.gz
|
(SHA256 c48ce02b7bcf15cfe26bd5b748e6597cec742575b5a704bda9dc75db0c22868b )
|
|
daemon-0.6.4.tar.gz (final)
|
(SHA256 c4b9ea4aa74d55ea618c34f1e02c080ddf368549037cb239ee60c83191035ca1 )
|
|
daemon-0.6.4-original.tar.gz (mistake)
|
(SHA256 142b2ae4bf516baf472b6cef852d999d2ad5f96270d306b1ee98afd4c26eb40e )
|
|
daemon-0.6.4.html.tar.gz
|
(SHA256 cebe3ed1f20387c95349e7e2b720a5afb1a54b4fc210ef3ba85449b112a09a93 )
|
|
daemon-0.6.4-1.src.rpm
|
(SHA256 e706d0b6bffa558baa37e5673afc3a3fcdf6b9c65272baca3c535fbadb334ff9 )
|
|
daemon-0.6.4-1.x86_64.rpm
|
(SHA256 e1d26e2a25f3d43d5ba8fed0cd036017e540bfdffad4cc197f48393bfa77ce44 )
|
|
daemon-0.6.4-1.i686.rpm
|
(SHA256 8a5f06cb528f61fd309e2c296ba8ed7432c8c3ba02274ac57b0f0e9e1c6c0a77 )
|
|
daemon-0.6.4-openbsd-amd64.tgz
|
(SHA256 c08b3bb289522eb0a37dcee063ac4fc6325f991c27a7df2f1d49ea98a8474a4b )
|
|
daemon-0.6.4-openbsd-i386.tgz
|
(SHA256 b2d5a21cb77ea2c57fa8d9847826641eb0e6434f02edcd9261eee32c2c68604c )
|
|
daemon-0.6.4-freebsd-amd64.tbz
|
(SHA256 768296a4c36d480378215d92a34847c07bc5505c44a91316c7a54912d56485b0 )
|
|
daemon-0.6.4-freebsd-i386.tbz
|
(SHA256 ea7f9d32dcf79aa79a871e0323845dddf938f3d677ad94608ef26e0465f509b9 )
|
|
daemon-0.6.4-netbsd-amd64.tgz
|
(SHA256 ea215bb3eadc3a71a0b99984ffa21d97851fd22c505f6a7bd57f924d9b543c98 )
|
|
daemon-0.6.4-netbsd-i386.tgz
|
(SHA256 b613dcadc3c9ce503d72f7b693234ff14f2fb2776b1d009ce4cc7a2760eb1cf3 )
|
|
daemon-0.6.4-macosx-universal.tar.gz
|
(SHA256 2d9866d726e822f719b3d4a93dee3a021ff7e5db291a9a24a11dd366b3f6f39a )
|
|
daemon-0.6.4-macosx-x86_64.tar.gz
|
(SHA256 bacf40cbd75e0b03bf474f3e3e9f9947f7fc27926008d04ede6561f3edc7a8e4 )
|
|
daemon-0.6.4-macosx-i386.tar.gz
|
(SHA256 e93ecbe156600efdfa6d7efe9bff36f31926fe1be7915a9bf9bacacffb46d880 )
|
|
daemon-0.6.4-macosx-powerpc.tar.gz
|
(SHA256 a15be06c1adec81b4cd90363a0dc98eaf871a2e6018d71f5faa3ec289df7f48d )
|
|
daemon-0.6.4-macosx-10.4-powerpc.tar.gz
|
(SHA256 9ebe3664ec5344f8bb781a67221c6b64fcc8499e3b52512b6aefc7b9a5187c2f )
|
|
daemon-0.6.4-solaris-amd64.pkg.gz
|
(SHA256 6a5d40f71bb2de89206784424fa4b2eb0060e4ca12ca8b03556c9b2b4e7acb98 )
|
|
daemon-0.6.4-solaris-i386.pkg.gz
|
(SHA256 b53dcabbf55215028b79115074d36065605045e812dadf8820f515d78e026598 )
|
|
daemon-0.6.3.tar.gz
|
(SHA256 2539c1222db851c80b8ccd3569294f9137063cfd9a262e6407be11ea55901260 )
|
|
daemon-0.6.3.html.tar.gz
|
(SHA256 b58fa228116dd4eba4657557350dfccdf81b19c6880571b82038cd0da2a79be6 )
|
|
daemon-0.6.3-1.src.rpm
|
(SHA256 ee38cc3deefe06a50057942f55bc68260aedcc12b93b393bcfebb3f4d90486bd )
|
|
daemon-0.6.3-1.i386.rpm
|
(SHA256 20d229a2ff69661d5ee7220b7e64d800610587ed5a2e6dd877beb0d556896eb5 )
|
|
daemon-0.6.3-obsd-i386.tar.gz
|
(SHA256 2b6c1dd00bc676e97f783eb946581461c7bac99238f64fdf83a64cff19ec1e49 )
|
|
daemon-0.6.3-fbsd-i386.tar.gz
|
(SHA256 0fe917fb4108641e64510193b4ae2daa63724526eddaeec181b130b097813e3b )
|
|
daemon-0.6.3-osx-powerpc.tar.gz
|
(SHA256 ab69973da4da109f357cc3f29a5008518b6f11ae05385de19bf1fd8645df12ad )
|
|
daemon-0.6.3.sun4u.pkg.gz
|
(SHA256 2f216998083b2897ab220fef6bc56d0df24cf6820457b334be916bc06af5c015 )
|
|
daemon_0.6.3-0_i386.deb
|
(SHA256 1a854b45ceed71d12cd4961a3aace2e2844015920c4cd0c4a4bcb20e4dcb2c2f )
|
|
daemon_0.6.3.orig.tar.gz
|
(SHA256 8ca7920b26f101fcbf1c34dcf1886f4783408bc04c32b115a8c2aac832c8f6da )
|
|
daemon_0.6.3-0.diff.gz
|
(SHA256 6c888cf1500e9bee790bda335fad15a3a087a897eed4230dfbfd62c473d1277a )
|
|
daemon_0.6.3-0.dsc
|
(SHA256 957335bc80f9477d90682bdf8b5654bc1548cf7b56946745cdd038c4f322d742 )
|
|
daemon_0.6.3-0_i386.changes
|
(SHA256 5135b4ecc4b7ffe4ed20e25b51eae4d9d98ce1c1421d95adc2347dfc2a0577dc )
|
|
daemon-0.6.2.tar.gz
|
(SHA256 7804f0dce9b6171c56b6a94be2313f9ed61d13765e12a80067dca8cda8bb13bd )
|
|
daemon-0.6.2.html.tar.gz
|
(SHA256 b10311e730b87b5128ba76e2e905dd4c4abc0e43adf97dfc83c2e07ef38ff434 )
|
|
daemon-0.6.2-1.src.rpm
|
(SHA256 b75ce2d901b72a57a3595d43cb31b681b8f00ef3ffd68f839429b0adc5036ede )
|
|
daemon-0.6.2-1.i386.rpm
|
(SHA256 fce2469aace8603c1ff5328df0e2bb6712a4db1be5a9dd8550a0e4e5dc6fe286 )
|
|
daemon-0.6.2-obsd-i386.tar.gz
|
(SHA256 acbd9cb7e7d7d997aa45f0f428f8d7c6ff08e032813b6e47d6fb843465adc1f6 )
|
|
daemon-0.6.2-fbsd-i386.tar.gz
|
(SHA256 6920e44fc76748feaf839c91bb337bc006d6076ede87df467ef9e07fa053a0ea )
|
|
daemon-0.6.2-osx-powerpc.tar.gz
|
(SHA256 ca6de66b3efbaa019bc713e44f6731b2556b005e42cca9022c108d868c89df0a )
|
|
daemon-0.6.2.sun4u.pkg.gz
|
(SHA256 94d71aa528c756fed41705280f8e3adff20b1242729faf782980fb476429f59f )
|
|
daemon-0.6.2.i86pc.pkg.gz
|
(SHA256 6fc602d8c325dad0b0aca7b4b76a7be7d1e908a681b83081fb65e2d9cd1d3961 )
|
|
daemon_0.6.2-0_i386.deb
|
(SHA256 a6e5f053f1c1a939e0a610317f7cc3ffca2c07c61cd84b931f5657e25941b99c )
|
|
daemon_0.6.2.orig.tar.gz
|
(SHA256 20b453e073fb3741c54bb9994b12706d655d0be14d27fac0b069f0c6cddd4ba8 )
|
|
daemon_0.6.2-0.diff.gz
|
(SHA256 96b20d3c33ff40b56c61643d866ce95afaeccfa2847ecf804ae1fa0cab1799ab )
|
|
daemon_0.6.2-0.dsc
|
(SHA256 9fb89123b36eaab125b31ecdcf3daa056a9dd23c130def636fab7f09231e4539 )
|
|
daemon_0.6.2-0_i386.changes
|
(SHA256 e797de7fc0efda22165373a75a4d68cb27d2af2e9b5bced2f037766686262bff )
|
|
daemon-0.6.1.tar.gz
|
(SHA256 38735dc863ce0877589ee5a003103660248d5c621bae0e21bf724fa6d93c0620 )
|
|
daemon-0.6.1.html.tar.gz
|
(SHA256 6430aeac51a71b1fc58e7b1754edc8dc6df29c5620c5a95b635e33c8cd9defe7 )
|
|
daemon-0.6.1-1.src.rpm
|
(SHA256 cbeb9b073c858d7536fd0e9b8e0e08e01ee51f11fa76a365470bf78243c2308d )
|
|
daemon-0.6.1-1.i386.rpm
|
(SHA256 bd8e2da3d147a3df521bc24a41cd5a763208a6b6edb132363d48a03bfa799da3 )
|
|
daemon-0.6.1-obsd-i386.tar.gz
|
(SHA256 e683d8cb99217f4be87792ffae521d98a98de8d7b438c12af4fba79e29bce170 )
|
|
daemon-0.6.1-fbsd-i386.tar.gz
|
(SHA256 7a36fde1deba65bda6f23b0fe1ef5c6cd6f66754c6bafe70a827a2d0d0ceef73 )
|
|
daemon-0.6.1.sun4u.pkg.gz
|
(SHA256 056b4950d8382192b5dab18bf68c6a2cb869b7343bf73eba8a51ed0acebf19ef )
|
|
daemon_0.6.1-0_i386.deb
|
(SHA256 874367a202f328b9e2506b8c178ebc194b467d38e7fe28482e8aaaeaffa6370c )
|
|
daemon_0.6.1.orig.tar.gz
|
(SHA256 38d0ac3d48efa1cd98b75145e1680006bd6d6a9c25448055f2948241127c8ddf )
|
|
daemon_0.6.1-0.diff.gz
|
(SHA256 940126d1ca82f9174471f20ae6f0f877dde96bb0985d564375ec9eab493cace4 )
|
|
daemon_0.6.1-0.dsc
|
(SHA256 412e8624107f2da5c249c14e11acbc4897d2bfe316cb1e6c3a818bd00383a770 )
|
|
daemon_0.6.1-0_i386.changes
|
(SHA256 44679c959207be898acbdd48f5e4d4bbad99563c06ff0ab693a4145b5ca49c79 )
|
|
daemon-0.6.tar.gz
|
(SHA256 b113cf1a174146a18324dad8eb400c5b556964382961ed7346b007ddfef29ee1 )
|
|
daemon-0.6.html.tar.gz
|
(SHA256 023321b2faaa98308f48ae7cac450c101e3151e976955e27462d9906cb579e1b )
|
|
daemon-0.6-1.src.rpm
|
(SHA256 2a72ce36a11c71b6885236810aa633f695014423dbf6593bae05ef7ee8fe678a )
|
|
daemon-0.6-1.i386.rpm
|
(SHA256 5b8d6ddc96ad780e35ec95475e71838be7fe5d835cbe3995c1a56dc813236dc3 )
|
|
daemon-0.6-obsd-i386.tar.gz
|
(SHA256 2a551b4e5a7fec9accf3c35d7e4001df654357e2ab42f727201bd33f76cef433 )
|
|
daemon-0.6-fbsd-i386.tar.gz
|
(SHA256 8d785005540d0885ab107232baa2fdf4c0feb6455a4c02e3a0d0046af062688c )
|
|
daemon-0.6.sun4u.pkg.gz
|
(SHA256 34cd0dc71353dbfbbf84fc8c5a25d38a5a3cb9cbaf1fbe38dc0f9890fcf04d60 )
|
|
daemon_0.6-1_i386.deb
|
(SHA256 043a8ff1daf8e94511f1a462596bd6d88814d4e4e82810cfab0a676f10e678c1 )
|
|
daemon_0.6.orig.tar.gz
|
(SHA256 03c601011e1b2f810586be26b55d7cef2d89c868df11ea5b55ac97a213d94060 )
|
|
daemon_0.6-1.diff.gz
|
(SHA256 2192fbb6b26e1e608028bf9d026a23a3698441a2fa6b7d5234237a15a951d0e7 )
|
|
daemon_0.6-1.dsc
|
(SHA256 1b9e00310e34762909d8545c902fc2ed83daed6a8f790c22b8ee453d40bd1531 )
|
|
daemon_0.6-1_i386.changes
|
(SHA256 c0c66216bab5ade6410de124fe9843220888a93ad90eff4f2c2bb538560c4af0 )
|
|
daemon-0.5.tar.gz
|
(SHA256 ad89cca76a186e9d8e95a3c08b2cb3e5d6c50c05a267928a3ad285981fd42a5c )
|
|
daemon-0.5.html.tar.gz
|
(SHA256 2f399f75616fb20cf5c435ee5a61d05a9d39bd817600b7e2e5295d9e88eb25e8 )
|
|
daemon_0.5_i386.deb
|
(SHA256 a1918e5c1ffee66006b5154fe8e8fa8c4a30f0bcf2b3168fbbaffcdff8e7fcd5 )
|
|
daemon-0.5-1.i386.rpm
|
(SHA256 f31fc8abe9ee83725646ed488b21055b9793b518ab8efa63b9b0baa9e6d00bad )
|
|
daemon-0.5-1.src.rpm
|
(SHA256 1230bb11fd04c99fb65c6269ec864baa38e4b2aeb4229e6fe387a4f0438b7a4e )
|
|
daemon-0.5-obsd-i386.tar.gz
|
(SHA256 c6736d7ff6c9f228c6414133cd5287ddcfc457927d8624ac97504a7243e1a7fa )
|
|
daemon-0.5.sun4u.pkg.gz
|
(SHA256 63892a4cb323d374393b75a67b344e2a8349d560d5bb5ee7621e7a4ec8a96af3 )
|
|
daemon-0.4.tar.gz
|
(SHA256 47242809bb2793b8cec027b30dc95d0c361121db1a5e45e7c6042565eca46afc )
|
|
daemon-0.4.html.tar.gz
|
(SHA256 62077aa4d5e044782a355738945223695c8e05b6ae89c567f0994109c91ff9ac )
|
|
daemon_0.4_i386.deb
|
(SHA256 95564ef623e0c90090c6b9bac1aef0b214151b52885b21e3f613f4653da66b4a )
|
|
daemon-0.4-1.i386.rpm
|
(SHA256 2329709fefdb14727929f8be5987c5c8152a58a919b9fff23fdbc3593e1bcb73 )
|
|
daemon-0.4-1.src.rpm
|
(SHA256 4b05ef7f95fbeeff2ecbb5c68889a89cedb21d7f59bec221043960e64e37f5dc )
|
|
daemon-0.4.sun4u.pkg.gz
|
(SHA256 90c1fc5f6e171ecb6ecc32c89163c21678719205d0f7535d163b5d726519bfbd )
|
|
daemon-0.3.tar.gz
|
(SHA256 e2538a8030a7ea913038c622859a2d8af7684951f7b2c8501f2df18212534503 )
|
|
daemon-0.2.tar.gz
|
(SHA256 191559d0e386f429a850f18c3366bd18e6d8ae9d7ccca9c4bb70a5e913a1cd3b )
|
|
daemon-0.1.tar.gz
|
(SHA256 5592a8006019a0fa2b865e62927aeb15fc8d9ca458e584412ab7e75fbe75b68e )
|