pid1
signal handling and orphan reaping for Unix PID1 init processes
Install
- All systems
-
curl cmd.cat/pid1.sh
- Debian
-
apt-get install pid1
- Ubuntu
-
apt-get install pid1
- Arch Linux
-
pacman -S pid1
- Kali Linux
-
apt-get install pid1
- Windows (WSL2)
-
sudo apt-get update
sudo apt-get install pid1
- Dockerfile
- dockerfile.run/pid1
pid1
signal handling and orphan reaping for Unix PID1 init processes
Library/executable for initializing signal handlers, spawning and child process, and reaping orphan processes. These are the responsibilities that must be fulfilled by the initial process in a Unix system, and in particular comes up when running Docker containers. This library/executable will automatically detect if it is run as some process besides PID1 and, if so, use a straightforward exec system call instead.