8467 shaares
202 private links
202 private links
En résumé : utiliser un système d'initialisation style systemd
Parce que :
Your application code should not be dealing with PID files, log redirection or other low-level concerns.
Avec le plus important :
- Log to stdout.
- Shut down on TERM/INT.
- Reload config on HUP.
- Provide the necessary config file for your favorite init system to control your daemon.