daemon
Run processes into daemons. More information: <https://manned.org/man/daemon.1>.
Install
- All systems
-
curl cmd.cat/daemon.sh
- Debian
-
apt-get install daemon
- Ubuntu
-
apt-get install daemon
- Kali Linux
-
apt-get install daemon
- Windows (WSL2)
-
sudo apt-get update
sudo apt-get install daemon
- OS X
-
brew install daemon
- Raspbian
-
apt-get install daemon
- Dockerfile
- dockerfile.run/daemon
Run processes into daemons. More information: <https://manned.org/man/daemon.1>.
-
Run a command as a daemon:
daemon --name="name" command
-
Run a command as a daemon which will restart if the command crashes:
daemon --name="name" --respawn command
-
Run a command as a daemon which will restart if it crashes, with two attempts every 10 seconds:
daemon --name="name" --respawn --attempts=2 --delay=10 command
-
Run a command as a daemon, writing logs to a specific file:
daemon --name="name" --errlog=path/to/file.log command
-
Kill a daemon (SIGTERM):
daemon --name="name" --stop
-
List daemons:
daemon --list
© tl;dr; authors and contributors