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 changed files with 4 additions and 1 deletions
5
debian/matrix-conduit.service
vendored
5
debian/matrix-conduit.service
vendored
|
@ -1,5 +1,5 @@
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Conduit Matrix homeserver
|
Description=conduwuit Matrix homeserver
|
||||||
After=network-online.target
|
After=network-online.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
|
@ -50,6 +50,9 @@ ExecStart=/usr/sbin/matrix-conduit
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
RestartSec=5
|
RestartSec=5
|
||||||
|
|
||||||
|
TimeoutStopSec=4m
|
||||||
|
TimeoutStartSec=4m
|
||||||
|
|
||||||
StartLimitInterval=1m
|
StartLimitInterval=1m
|
||||||
StartLimitBurst=5
|
StartLimitBurst=5
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue