Merge "Add to worker-utils scripts the LSB header"
This commit is contained in:
commit
50574cd7b7
@ -5,6 +5,16 @@
|
|||||||
# SPDX-License-Identifier: Apache-2.0
|
# 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
|
# Define minimal path
|
||||||
PATH=/bin:/usr/bin:/usr/local/bin
|
PATH=/bin:/usr/bin:/usr/local/bin
|
||||||
|
|
||||||
|
@ -5,10 +5,19 @@
|
|||||||
# SPDX-License-Identifier: Apache-2.0
|
# 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
|
. /usr/bin/tsconfig
|
||||||
. /etc/init.d/task_affinity_functions.sh
|
. /etc/init.d/task_affinity_functions.sh
|
||||||
|
@ -5,6 +5,15 @@
|
|||||||
# SPDX-License-Identifier: Apache-2.0
|
# 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
|
source /etc/platform/platform.conf
|
||||||
|
|
||||||
|
@ -5,6 +5,16 @@
|
|||||||
# SPDX-License-Identifier: Apache-2.0
|
# 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
|
# Define minimal path
|
||||||
PATH=/bin:/usr/bin:/usr/local/bin
|
PATH=/bin:/usr/bin:/usr/local/bin
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user