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:
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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user