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>
This commit is contained in:
parent
5a4403fa25
commit
0972079319
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue