From 6d27d9610be82221d9b6cb3d133eb537dfed0930 Mon Sep 17 00:00:00 2001 From: Sunil Mohan Adapa Date: Fri, 4 Apr 2025 15:54:28 -0700 Subject: [PATCH] service: Increase startup/shutdown timeout to 5 minutes - From the default 90 seconds (system-wide). This is better when systems are slow during bootup or have really slow disk IO. Tests: - When running 'systemctl start plinth' add a sleep of 120 seconds in main before notification. The service stays in 'activating' state for 2 minutes but then succeeds and becomes active. Signed-off-by: Sunil Mohan Adapa Reviewed-by: James Valleroy --- data/usr/lib/systemd/system/plinth.service | 1 + 1 file changed, 1 insertion(+) diff --git a/data/usr/lib/systemd/system/plinth.service b/data/usr/lib/systemd/system/plinth.service index d84e62b13..2341b2745 100644 --- a/data/usr/lib/systemd/system/plinth.service +++ b/data/usr/lib/systemd/system/plinth.service @@ -9,6 +9,7 @@ StartLimitIntervalSec=0 [Service] Type=notify ExecStart=/usr/bin/plinth +TimeoutSec=300s Restart=on-failure RestartSec=5 ExecReload=/bin/kill -HUP $MAINPID