Ceci se base sur l'idée que les enfants ne devraient pas se détacher de leur parent, ce qui est également à ma connaissance requis par systemd.
Pas forcément, voir man systemd.service
Type=
Configures the process start−up type for this service unit. One of simple, exec, forking, oneshot, dbus, notify or idle:
• If set to simple (the default if ExecStart= is specified but neither Type= nor BusName= are), the service manager will consider the unit started immediately after the main service process has been forked off. It is expected that the process configured with ExecStart= is the main process of the service. [...]
• If set to forking, it is expected that the process configured with ExecStart= will call fork() as part of its start−up. The parent process is expected to exit when start−up is complete and all communication channels are set up. The child continues to run as the main service process, and the service manager will consider the unit started when the parent process exits. This is the behavior of traditional UNIX services. [...]
# Type=forking
Posté par kna . En réponse au journal Gestion des services avec runit. Évalué à 5.
Pas forcément, voir man systemd.service