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 <marcela.a.rosales.jimenez@intel.com>
This commit is contained in:
Marcela Rosales 2019-06-12 12:46:42 -05:00
parent 37b51a252f
commit c82eaa2209
2 changed files with 15 additions and 4 deletions

View File

@ -11,9 +11,11 @@
### BEGIN INIT INFO
# Provides: worker_config
# Short-Description: Worker node config agent
# 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

View File

@ -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