3287637b2d
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
66 lines
2.7 KiB
YAML
66 lines
2.7 KiB
YAML
---
|
|
# Copyright 2017, Rackspace US, Inc.
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
|
|
# This is the default path for a given service. Set this for general service lookups or
|
|
# define "program_override" option in the systemd_services dictionary.
|
|
systemd_bin_path: /usr/local/bin
|
|
|
|
system_user_name: root
|
|
system_group_name: root
|
|
system_slice_name: system
|
|
system_lock_path: /var/lock
|
|
|
|
# This is the prefix used for all temp files of a given type.
|
|
systemd_tempd_prefix: tempd
|
|
|
|
# Give a reasonable amount of time for the server to start up/shut down
|
|
systemd_TimeoutSec: 120
|
|
systemd_Restart: on-failure
|
|
systemd_RestartSec: 2
|
|
|
|
# Set accounting on systemd service
|
|
system_CPUAccounting: true
|
|
system_BlockIOAccounting: true
|
|
system_MemoryAccounting: true
|
|
system_TasksAccounting: true
|
|
|
|
# Start service after a given target. This is here because we want to define common
|
|
# after targets used on most services. This can be overridden or agumented using
|
|
# the "systemd_services" dictionary option "init_config_overrides".
|
|
systemd_after_targets:
|
|
- syslog.target
|
|
- network.target
|
|
|
|
# The systemD services dictionary is a set of services that will be created. The dictionary
|
|
# can contain the following options:
|
|
# `service_name` -- (required) used to define the name of the service. This is typically the name of the executable.
|
|
# `init_config_overrides` -- (optional) This allows any section or key=value pair to be set within the systemd unit file.
|
|
# `program_config_options` -- (optional) Provides the ability to pass in flags to a given service for execution.
|
|
# `program_override` -- (optional) sets the full path to the executable that will be run by the service file.
|
|
|
|
# Examples:
|
|
# systemd_services:
|
|
# ServiceW:
|
|
# service_name: ServiceW
|
|
# init_config_overrides: {} # This is used to add in arbitratry unit file options
|
|
# ServiceX:
|
|
# service_name: ServiceX
|
|
# init_config_overrides: {} # This is used to add in arbitratry unit file options
|
|
# program_config_options: '--flag1 things --flag2 other'
|
|
# ServiceY:
|
|
# service_name: ServiceY
|
|
# init_config_overrides: {} # This is used to add in arbitratry unit file options
|
|
# program_override: '/usr/bin/ServiceY'
|