软件包:daemonize(1.7.8-4 以及其他的)
tool to run a command as a 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 有关的软件包
|
|
|
|
-
- dep: libc6 (>= 2.34) [除 alpha, ia64, sh4]
- GNU C 语言运行库:共享库
同时作为一个虚包由这些包填实: libc6-udeb
- dep: libc6 (>= 2.37) [sh4]
-
- dep: libc6.1 (>= 2.34) [alpha]
- GNU C 语言运行库:共享库
同时作为一个虚包由这些包填实: libc6.1-udeb
- dep: libc6.1 (>= 2.37) [ia64]
下载 daemonize
硬件架构 | 版本 | 软件包大小 | 安装后大小 | 文件 |
---|---|---|---|---|
alpha (非官方移植版) | 1.7.8-4 | 14.3 kB | 87.0 kB | [文件列表] |
amd64 | 1.7.8-4 | 14.6 kB | 43.0 kB | [文件列表] |
arm64 | 1.7.8-4+b1 | 14.7 kB | 88.0 kB | [文件列表] |
armel | 1.7.8-4 | 14.1 kB | 34.0 kB | [文件列表] |
armhf | 1.7.8-4 | 14.1 kB | 34.0 kB | [文件列表] |
hppa (非官方移植版) | 1.7.8-4 | 14.3 kB | 35.0 kB | [文件列表] |
i386 | 1.7.8-4 | 14.5 kB | 38.0 kB | [文件列表] |
ia64 (非官方移植版) | 1.7.8-4 | 15.3 kB | 41.0 kB | [文件列表] |
m68k (非官方移植版) | 1.7.8-4 | 14.2 kB | 38.0 kB | [文件列表] |
mips64el | 1.7.8-4 | 14.4 kB | 88.0 kB | [文件列表] |
ppc64 (非官方移植版) | 1.7.8-4 | 14.7 kB | 87.0 kB | [文件列表] |
ppc64el | 1.7.8-4 | 14.7 kB | 87.0 kB | [文件列表] |
riscv64 | 1.7.8-4 | 14.3 kB | 35.0 kB | [文件列表] |
s390x | 1.7.8-4 | 14.3 kB | 39.0 kB | [文件列表] |
sh4 (非官方移植版) | 1.7.8-4 | 15.0 kB | 86.0 kB | [文件列表] |
sparc64 (非官方移植版) | 1.7.8-4 | 14.3 kB | 1,048.0 kB | [文件列表] |
x32 (非官方移植版) | 1.7.8-4 | 14.5 kB | 38.0 kB | [文件列表] |