From 7fbb8de5fbfbafd7427532a650a63d213a0587a6 Mon Sep 17 00:00:00 2001 From: mattkatz Date: Thu, 20 Jan 2022 17:53:51 -0500 Subject: [PATCH] migrate from killmode=none to control-group KillMode=None is deprecated and will be discontinued. control-group seems like the right choice in that it can kill all underlying services appropriately and then we can restart them when the tmux service is restarted. --- scripts/handle_tmux_automatic_start/systemd_enable.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/handle_tmux_automatic_start/systemd_enable.sh b/scripts/handle_tmux_automatic_start/systemd_enable.sh index ffcb5d9..07bbbc6 100755 --- a/scripts/handle_tmux_automatic_start/systemd_enable.sh +++ b/scripts/handle_tmux_automatic_start/systemd_enable.sh @@ -25,7 +25,7 @@ template() { ExecStop=${resurrect_save_script_path} ExecStop=${tmux_path} kill-server - KillMode=none + KillMode=control-group RestartSec=2