mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-09-19 04:59:01 +00:00
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 <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
parent
7c14677277
commit
6d27d9610b
@ -9,6 +9,7 @@ StartLimitIntervalSec=0
|
|||||||
[Service]
|
[Service]
|
||||||
Type=notify
|
Type=notify
|
||||||
ExecStart=/usr/bin/plinth
|
ExecStart=/usr/bin/plinth
|
||||||
|
TimeoutSec=300s
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
RestartSec=5
|
RestartSec=5
|
||||||
ExecReload=/bin/kill -HUP $MAINPID
|
ExecReload=/bin/kill -HUP $MAINPID
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user