1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-13 03:09:51 +03:00
aports/main/openrc/0010-init.d-user-add-a-respawn_delay-value.patch
2025-05-01 20:04:20 +00:00

22 lines
619 B
Diff

From 1146ee616c55751db4350c389757862d67e7a1b0 Mon Sep 17 00:00:00 2001
From: "Anna (navi) Figueiredo Gomes" <navi@vlhl.dev>
Date: Sun, 27 Apr 2025 15:41:39 +0200
Subject: [PATCH] init.d/user: add a respawn_delay value
Fixes: https://github.com/OpenRC/openrc/issues/852
---
init.d/user.in | 1 +
1 file changed, 1 insertion(+)
diff --git a/init.d/user.in b/init.d/user.in
index ea416e5c..a67a3cff 100644
--- a/init.d/user.in
+++ b/init.d/user.in
@@ -21,6 +21,7 @@ notify="fd:3"
# we should just quit fast.
respawn_max=3
respawn_period=5
+respawn_delay=500ms
start_pre() {
if [ "$user" = "$RC_SVCNAME" ]; then