From c82eaa2209938f7df62bf2a6ef92a3eaed14931e Mon Sep 17 00:00:00 2001 From: Marcela Rosales Date: Wed, 12 Jun 2019 12:46:42 -0500 Subject: [PATCH] Add to worker_config and worker_services keywords to be LSB compliant To build RPM packages for openSUSE in OBS infrastructure, it's required for the services to have an init script compliant to LSB. Change-Id: I59fa2f2e0a18de5a8e6a08d468ae09e8e3f9d91d Story: 2005679 Task: 33677 Signed-off-by: Marcela Rosales --- workerconfig/workerconfig/worker_config | 10 ++++++---- workerconfig/workerconfig/worker_services | 9 +++++++++ 2 files changed, 15 insertions(+), 4 deletions(-) diff --git a/workerconfig/workerconfig/worker_config b/workerconfig/workerconfig/worker_config index 524a55a27e..cfc4d2d57c 100644 --- a/workerconfig/workerconfig/worker_config +++ b/workerconfig/workerconfig/worker_config @@ -10,10 +10,12 @@ # ### BEGIN INIT INFO -# Provides: worker_config -# Short-Description: Worker node config agent -# Default-Start: 2 3 4 5 -# Default-Stop: 0 1 6 +# Provides: worker_config +# Required-Start: +# Required-Stop: +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: Worker node config agent ### END INIT INFO . /usr/bin/tsconfig diff --git a/workerconfig/workerconfig/worker_services b/workerconfig/workerconfig/worker_services index 8f44bf0a82..b37ca3a93a 100644 --- a/workerconfig/workerconfig/worker_services +++ b/workerconfig/workerconfig/worker_services @@ -22,6 +22,15 @@ # This script logs to /var/log/platform.log # +### BEGIN INIT INFO +# Provides: worker_services +# Required-Start: +# Required-Stop: +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: Worker node services agent +### END INIT INFO + . /usr/bin/tsconfig . /etc/platform/platform.conf