From 2c0ca3e398b27b886415724d671c4a24ba600aae Mon Sep 17 00:00:00 2001 From: Luca Boccassi Date: Tue, 26 Sep 2023 00:18:00 +0100 Subject: [PATCH] docs: note root storage daemons can now also use SurviveFinalKillSignal=yes --- docs/ROOT_STORAGE_DAEMONS.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/ROOT_STORAGE_DAEMONS.md b/docs/ROOT_STORAGE_DAEMONS.md index 86aefe10573..1ffebd64984 100644 --- a/docs/ROOT_STORAGE_DAEMONS.md +++ b/docs/ROOT_STORAGE_DAEMONS.md @@ -137,6 +137,9 @@ is a cool character which looks pretty in the ps output... 😎 Note that your code should only modify `argv[0][0]` and leave the comm name (i.e. `/proc/self/comm`) of your process untouched. +Since systemd v255, alternatively the `SurviveFinalKillSignal=yes` unit option +can be set, and provides the equivalent functionality to modifying `argv[0][0]`. + ## To which technologies does this apply? These recommendations apply to those storage daemons which need to stay around -- 2.47.3