18 lines
502 B
Diff
18 lines
502 B
Diff
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
|