How to Install and Uninstall daemonize Package on Kali Linux

Last updated: November 22,2024

1. Install "daemonize" package

Please follow the steps below to install daemonize on Kali Linux

$ sudo apt update $ sudo apt install daemonize

2. Uninstall "daemonize" package

In this section, we are going to explain the necessary steps to uninstall daemonize on Kali Linux:

$ sudo apt remove daemonize $ sudo apt autoclean && sudo apt autoremove

3. Information about the daemonize package on Kali Linux

Package: daemonize
Version: 1.7.8-3
Installed-Size: 43
Maintainer: SZ Lin (林上智)
Architecture: amd64
Depends: libc6 (>= 2.34)
Size: 14912
SHA256: 65c06f9dd0a44265703f812b76a86e6cb45d8c0a65420d89c7c88b5eb05a9f91
SHA1: ec4b406a206f991e40717113b6cc03558b99026b
MD5sum: 264274f522adb55f24f1f91d8744f6f2
Description: 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.
Description-md5:
Homepage: http://software.clapper.org/daemonize/
Section: admin
Priority: optional
Filename: pool/main/d/daemonize/daemonize_1.7.8-3_amd64.deb