Update cheatsheets

This commit is contained in:
ivuorinen
2025-06-30 00:22:10 +00:00
parent 0b27d7dda4
commit 3495c8ec38
111 changed files with 496 additions and 123 deletions

View File

@@ -5,8 +5,8 @@ source: https://github.com/tldr-pages/tldr.git
---
# daemon
> Run processes into daemons.
> More information: <https://manned.org/daemon>.
> Turns other processes into daemons.
> More information: <https://manned.org/daemon.1>.
- Run a command as a daemon:
@@ -14,11 +14,11 @@ source: https://github.com/tldr-pages/tldr.git
- Run a command as a daemon which will restart if the command crashes:
`daemon --name="{{name}}" --respawn {{command}}`
`daemon --name="{{name}}" {{[-r|--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}}`
`daemon --name="{{name}}" {{[-r|--respawn]}} --attempts=2 --delay=10 {{command}}`
- Run a command as a daemon, writing logs to a specific file: