1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-24 00:02:09 +02:00
tldr/pages.fr/linux/daemonize.md
K.B.Dharun Krishna 5257568887
pages.*: add standard translation (#9672)
* pages./: Automatically add alias pages

Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

* pages./: Automatically add links

Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

* Fix false positives from script

Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2022-12-29 08:41:44 +05:30

20 lines
685 B
Markdown

# daemonize
> Lance une commande (qui ne se "démonise" pas elle-même) comme démon UNIX.
> Plus d'informations : <http://software.clapper.org/daemonize/>.
- Lance une commande comme démon :
`daemonize {{commande}} {{arguments_de_commande}}`
- Écrit le PID dans le fichier spécifié :
`daemonize -p {{chemin/vers/le/fichier/pid}} {{commande}} {{arguments_de_commande}}`
- Utilise un fichier verrou pour s'assurer que seulement une instance fonctionne à la fois :
`daemonize -l {{chemin/vers/le/fichier/verrou}} {{commande}} {{arguments_de_commande}}`
- Utilise le compte utilisateur spécifié :
`sudo daemonize -u {{utilisateur}} {{commande}} {{arguments_de_commande}}`