Verified Commit cdecb4ec authored by Balasankar 'Balu' C's avatar Balasankar 'Balu' C
Browse files

Add patch to runit to not consider log status

parent b3295011
......@@ -7,6 +7,8 @@ omnibus-gitlab repository.
- Add AWS customer provided encryption key configuration option !2928
- Fix mattermost data directory permissions with ```update-permissions```
- Patch runit to not consider status of log service for `status` command exit
code !2949
11.7.0
......
diff --git a/sv.c b/sv.c
index 0125795..b79dc4f 100644
--- a/sv.c
+++ b/sv.c
@@ -167,7 +167,7 @@ int status(char *unused) {
}
else {
outs("; ");
- if (svstatus_get()) { rc =svstatus_print("log"); outs("\n"); }
+ if (svstatus_get()) { svstatus_print("log"); outs("\n"); }
}
islog =0;
flush("");
......@@ -31,6 +31,11 @@ source url: "http://smarden.org/runit/runit-#{version}.tar.gz"
relative_path "admin/runit-#{version}/src"
build do
# Patch runit to not consider status of log service associated with a service
# on determining output of status command. For details, check
# https://gitlab.com/gitlab-org/omnibus-gitlab/issues/4008
patch source: 'log-status.patch'
env = with_standard_compiler_flags(with_embedded_path)
# Put runit where we want it, not where they tell us to
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment