1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
7 SDESC[standard]= Tool to run a command as a daemon
8 HOMEPAGE= http://software.clapper.org/daemonize/
12 SITES[main]= GITHUB/bmc:daemonize:release-1.7.8
13 DISTFILE[1]= generated:main
15 SPKGS[standard]= single
17 OPTIONS_AVAILABLE= none
18 OPTIONS_STANDARD= none
23 LICENSE_FILE= MIT:{{WRKSRC}}/LICENSE.md
26 FPC_EQUIVALENT= sysutils/daemonize
31 ${INSTALL_PROGRAM} ${WRKSRC}/daemonize ${STAGEDIR}${PREFIX}/bin
32 ${INSTALL_MAN} ${WRKSRC}/daemonize.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
34 [FILE:1268:descriptions/desc.single]
35 daemonize runs a command as a Unix daemon. As defined in W. Richard
36 Stevens's 1990 book, UNIX Network Programming (Addison-Wesley, 1990), a
37 daemon is "a process that executes 'in the background' (i.e., without an
38 associated terminal or login shell) either waiting for some event to
39 occur, or waiting to perform some specified task on a periodic basis."
40 Upon startup, a typical daemon program will:
42 * Close all open file descriptors (especially standard input, standard
43 output and standard error)
44 * Change its working directory to the root filesystem, to ensure that
45 it doesn't tie up another filesystem and prevent it from being unmounted
46 * Reset its umask value
47 * Run in the background (i.e., fork)
48 * Disassociate from its process group (usually a shell), to insulate
49 itself from signals (such as HUP) sent to the process group
50 * Ignore all terminal I/O signals
51 * Disassociate from control terminal (and take steps not to reacquire one)
52 * Handle any SIGCLD signals
54 Most programs that are designed to be run as daemons do that work for
55 themselves. However, you'll occasionally run across one that does not.
56 When you must run a daemon program that does not properly make itself into
57 a true Unix daemon, you can use daemonize to run as a true daemon.
61 20c4fc9925371d1ddf1b57947f8fb93e2036eb9ccc3b43a1e3678ea8471c4c60 66009 bmc-daemonize-release-1.7.8.tar.gz
64 [FILE:44:manifests/plist.single]
66 share/man/man1/daemonize.1.gz