• Martin Blix Grydeland's avatar
    systemd: Use 'mixed' kill mode · 3ba24a8e
    Martin Blix Grydeland authored
    When the killmode is 'process', only the mgt process is ever signalled
    by systemd. If that fails to exit within TimeoutStopSec, we may leave
    unresponsive processes till tearing themselves down. During a restart of
    the service, that could lead to the old cache process still holding onto
    resources like bound ports, preventing the new service from starting.
    
    With 'mixed' mode instead, first SIGTERM is sent to the mgt process only
    (found through its PID file), but all the processes in the group will be
    sent SIGKILL after TimeoutStopSec, and systemd will wait for them all to
    exit.
    Signed-off-by: 's avatarDridi Boukelmoune <dridi.boukelmoune@gmail.com>
    3ba24a8e
Name
Last commit
Last update
alpine Loading commit data...
arch Loading commit data...
debian Loading commit data...
redhat Loading commit data...
sources Loading commit data...
systemd Loading commit data...
sysv Loading commit data...
.gitignore Loading commit data...
JOBDEFS.rst Loading commit data...
README.rst Loading commit data...
dl-source Loading commit data...
package-deb Loading commit data...
package-rpm Loading commit data...
upload-packages Loading commit data...