mcst-linux-kernel/patches-2024.06.26/ceph-14.2.22/0012-fix-radosgw-init.patch

18 lines
502 B
Diff
Raw Normal View History

2024-07-09 13:51:45 +03:00
Subject: add functions to run the daemon
Bug: 108985
Tags: common
diff -rupN a/src/init-radosgw b/src/init-radosgw
--- a/src/init-radosgw 2020-05-12 22:20:53.838090312 +0300
+++ b/src/init-radosgw 2020-05-12 22:21:36.747627182 +0300
@@ -14,6 +14,9 @@ PATH=/sbin:/bin:/usr/bin
if [ -x /sbin/start-stop-daemon ]; then
DEBIAN=1
. /lib/lsb/init-functions
+elif [ -f /etc/mcst_version ]; then
+ DEBIAN=1
+ . /etc/rc.d/init.d/functions
else
. /etc/rc.d/init.d/functions
DEBIAN=0