From cdb66112c8dd72eb63e3d60c3345b749e21af5e4 Mon Sep 17 00:00:00 2001 From: Galen Abell Date: Thu, 2 Dec 2021 19:32:35 +0100 Subject: [PATCH] builds.sr.ht: Add missing initd dependencies --- sr.ht/builds.sr.ht/builds.sr.ht-worker.initd | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/sr.ht/builds.sr.ht/builds.sr.ht-worker.initd b/sr.ht/builds.sr.ht/builds.sr.ht-worker.initd index f2b6930..cec6543 100755 --- a/sr.ht/builds.sr.ht/builds.sr.ht-worker.initd +++ b/sr.ht/builds.sr.ht/builds.sr.ht-worker.initd @@ -11,6 +11,13 @@ command_args="$EXTRA_ARGS" command_user="$BUILDS_USER:$BUILDS_USER" pidfile="/run/${RC_SVCNAME}.pid" +depend() { + need net + use redis + use postgresql + use pgbouncer +} + start_pre() { checkpath -f "$LOGS" -m 644 -o "$BUILDS_USER:$BUILDS_USER" } -- 2.45.2