commit: 78111bd422690d958499d2b85c3fa5aa790d1522
parent 6004c7207cba23e72d244ac48dc64fca5c6feea3
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Thu, 19 Dec 2024 21:49:12 +0100
rel/…/init.d/pleroma: set respawn_max & respawn_period
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/rel/files/installation/init.d/pleroma b/rel/files/installation/init.d/pleroma
@@ -16,6 +16,10 @@ retry="SIGTERM/30/SIGKILL/5"
pidfile="/var/run/pleroma.pid"
+# Needs OpenRC >= 0.42
+respawn_max=200
+respawn_period=86400 # 1*day
+
depend() {
want nginx
need postgresql