Merge "Add to worker-utils scripts the LSB header"

This commit is contained in:
Zuul 2019-06-13 12:50:12 +00:00 committed by Gerrit Code Review
commit 07740dd764
4 changed files with 41 additions and 3 deletions

View File

@ -5,6 +5,16 @@
# SPDX-License-Identifier: Apache-2.0
#
################################################################################
#
### BEGIN INIT INFO
# Provides: affine-platform
# Required-Start:
# Required-Stop:
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Affine platform
### END INIT INFO
# Define minimal path
PATH=/bin:/usr/bin:/usr/local/bin

View File

@ -5,10 +5,19 @@
# SPDX-License-Identifier: Apache-2.0
#
###############################################################################
#
### BEGIN INIT INFO
# Provides: affine-tasks
# Required-Start:
# Required-Stop:
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: affine tasks
# Description: This script will affine tasks to the platform cores of the
# host. This ensures that system processes are constrained to platform
# cores and will not run on cores with VMs/containers.
### END INIT INFO
# This script will affine tasks to the platform cores of the host.
# This ensures that system processes are constrained to platform cores and will
# not run on cores with VMs/containers.
. /usr/bin/tsconfig
. /etc/init.d/task_affinity_functions.sh

View File

@ -5,6 +5,15 @@
# SPDX-License-Identifier: Apache-2.0
#
################################################################################
#
### BEGIN INIT INFO
# Provides: cpumap_functions
# Required-Start:
# Required-Stop:
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: cpumap_functions
### END INIT INFO
source /etc/platform/platform.conf

View File

@ -5,6 +5,16 @@
# SPDX-License-Identifier: Apache-2.0
#
################################################################################
#
### BEGIN INIT INFO
# Provides: task_affinity_functions
# Required-Start:
# Required-Stop:
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: task_affinity_functions
### END INIT INFO
# Define minimal path
PATH=/bin:/usr/bin:/usr/local/bin