From 211ffabe3938b6c5c839c005436eab97448c3f3f Mon Sep 17 00:00:00 2001 From: Kyle Carberry Date: Mon, 17 Oct 2022 23:50:29 +0000 Subject: [PATCH] Fix kill mode stopping the built-in PostgreSQL This was preventing final cleanups from occurring! --- coder.service | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/coder.service b/coder.service index 697250bf8f..4ff2cc260a 100644 --- a/coder.service +++ b/coder.service @@ -20,11 +20,12 @@ AmbientCapabilities=CAP_IPC_LOCK CAP_NET_BIND_SERVICE CacheDirectory=coder CapabilityBoundingSet=CAP_SYSLOG CAP_IPC_LOCK CAP_NET_BIND_SERVICE KillSignal=SIGINT +KillMode=mixed NoNewPrivileges=yes ExecStart=/usr/bin/coder server Restart=on-failure RestartSec=5 -TimeoutStopSec=30 +TimeoutStopSec=90 [Install] WantedBy=multi-user.target