daemon
Turn other processes into daemons. tldr-pages
On Linux
Linux
Run a command as a daemon
daemon --name "name" commandIdentifyRun a command as a daemon which will restart if the command crashes
daemon --name "name" --respawn commandIdentifyRun 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 commandIdentifyRun a command as a daemon, writing logs to a specific file
daemon --name "name" --errlog path/to/file.log commandIdentifyKill a daemon (SIGTERM)
daemon --name "name" --stopIdentifyList daemons
daemon --listIdentify