From 7aca57bfb5e87c03d327a0637b009afb8313e67d Mon Sep 17 00:00:00 2001 From: Shane Smiskol Date: Thu, 6 Jun 2024 13:35:57 -0700 Subject: [PATCH 1/3] send sigterm first --- userspace/files/comma.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/userspace/files/comma.service b/userspace/files/comma.service index 10ef18d6..9636f14a 100644 --- a/userspace/files/comma.service +++ b/userspace/files/comma.service @@ -5,7 +5,7 @@ Type=simple User=comma Restart=always ExecStart=/bin/bash -c "/usr/bin/tmux new-session -s comma -d /usr/comma/comma.sh && sleep infinity" -KillSignal=SIGKILL +TimeoutStopSec=1 LimitRTPRIO=100 LimitNICE=-10 From a106104e456f040c1c8fd3d64ed6239763948d34 Mon Sep 17 00:00:00 2001 From: Shane Smiskol Date: Thu, 6 Jun 2024 13:38:35 -0700 Subject: [PATCH 2/3] restart should be kill still --- userspace/files/comma.service | 1 + 1 file changed, 1 insertion(+) diff --git a/userspace/files/comma.service b/userspace/files/comma.service index 9636f14a..62df670f 100644 --- a/userspace/files/comma.service +++ b/userspace/files/comma.service @@ -6,6 +6,7 @@ User=comma Restart=always ExecStart=/bin/bash -c "/usr/bin/tmux new-session -s comma -d /usr/comma/comma.sh && sleep infinity" TimeoutStopSec=1 +RestartKillSignal=SIGKILL LimitRTPRIO=100 LimitNICE=-10 From de77c84bb4e8b5b83b47c6617d411c838a7f8d93 Mon Sep 17 00:00:00 2001 From: Shane Smiskol Date: Thu, 6 Jun 2024 13:38:43 -0700 Subject: [PATCH 3/3] be explicit --- userspace/files/comma.service | 1 + 1 file changed, 1 insertion(+) diff --git a/userspace/files/comma.service b/userspace/files/comma.service index 62df670f..176570ea 100644 --- a/userspace/files/comma.service +++ b/userspace/files/comma.service @@ -6,6 +6,7 @@ User=comma Restart=always ExecStart=/bin/bash -c "/usr/bin/tmux new-session -s comma -d /usr/comma/comma.sh && sleep infinity" TimeoutStopSec=1 +KillSignal=SIGTERM RestartKillSignal=SIGKILL LimitRTPRIO=100 LimitNICE=-10