From 0972079319fd014ead373c83874d9c071be49dc5 Mon Sep 17 00:00:00 2001
From: strawberry <strawberry@puppygock.gay>
Date: Tue, 20 Feb 2024 23:06:18 -0500
Subject: [PATCH] raise default systemd unit start/stop timeout

default of 90 seconds can be too low if hardware is not very fast
and rocksdb compaction or shutdown takes too long

Signed-off-by: strawberry <strawberry@puppygock.gay>
---
 debian/matrix-conduit.service | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/debian/matrix-conduit.service b/debian/matrix-conduit.service
index 316656d7a..bc1347afe 100644
--- a/debian/matrix-conduit.service
+++ b/debian/matrix-conduit.service
@@ -1,5 +1,5 @@
 [Unit]
-Description=Conduit Matrix homeserver
+Description=conduwuit Matrix homeserver
 After=network-online.target
 
 [Service]
@@ -50,6 +50,9 @@ ExecStart=/usr/sbin/matrix-conduit
 Restart=on-failure
 RestartSec=5
 
+TimeoutStopSec=4m
+TimeoutStartSec=4m
+
 StartLimitInterval=1m
 StartLimitBurst=5
 
-- 
GitLab