daemonize - Run a command as a Unix daemon

Distribution: ROSA Enterprise Desktop
Repository: ROSA Contrib Updates x86_64
Package name: daemonize
Package version: 1.6
Package release: 2-rosa.lts2012.0
Package architecture: x86_64
Package type: rpm
Installed size: 23.35 KB
Download size: 15.57 KB
Official Mirror: mirror.rosalab.ru
daemonize runs a command as a Unix daemon. As defined in W. Richard Stevens' 1990 book, Unix Network Programming (Addison-Wesley, 1990), a daemon is "a process that executes 'in the background' (i.e., without an associated terminal or login shell) either waiting for some event to occur, or waiting to perform some specified task on a periodic basis." Upon startup, a typical daemon program will: - Close all open file descriptors (especially standard input, standard output and standard error) - Change its working directory to the root filesystem, to ensure that it doesn't tie up another filesystem and prevent it from being unmounted - Reset its umask value - Run in the background (i.e., fork) - Disassociate from its process group (usually a shell), to insulate itself from signals (such as HUP) sent to the process group - Ignore all terminal I/O signals - Disassociate from the control terminal (and take steps not to reacquire one) - Handle any SIGCLD signals Most programs that are designed to be run as daemons do that work for themselves. However, you'll occasionally run across one that does not. When you must run a daemon program that does not properly make itself into a true Unix daemon, you can use daemonize to force it to run as a true daemon.



  • daemonize == 1.6-2:2012.0


    Install Howto

    1. Enable ROSA Contrib Updates repository on Install and Remove Software"
    2. Update packages list:
      # urpmi.update -a
    3. Install daemonize rpm package:
      # urpmi daemonize


    • /usr/sbin/daemonize
    • /usr/share/doc/daemonize/CHANGELOG
    • /usr/share/doc/daemonize/LICENSE
    • /usr/share/doc/daemonize/README.md
    • /usr/share/man/man1/daemonize.1.xz


    2011-07-13 - G?tz Waschk <waschk@mandriva.org> 1.6-2 + Revision: 689835 - rebuild

    2010-07-12 - G?tz Waschk <waschk@mandriva.org> 1.6-1mdv2011.0 + Revision: 551227 - new version

    2009-07-11 - G?tz Waschk <waschk@mandriva.org> 1.5.6-1mdv2010.0 + Revision: 394705 - update to new version 1.5.6