Update default/ settings.
This commit is contained in:
parent
66a5922794
commit
32951fb41a
4 changed files with 82 additions and 2 deletions
27
etc/default/cron
Normal file
27
etc/default/cron
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
# Cron configuration options
|
||||
|
||||
# Whether to read the system's default environment files (if present)
|
||||
# If set to "yes", cron will set a proper mail charset from the
|
||||
# locale information. If set to something other than 'yes', the default
|
||||
# charset 'C' (canonical name: ANSI_X3.4-1968) will be used.
|
||||
#
|
||||
# This has no effect on tasks running under cron; their environment can
|
||||
# only be changed via PAM or from within the crontab; see crontab(5).
|
||||
READ_ENV="yes"
|
||||
|
||||
# Extra options for cron, see cron(8)
|
||||
#
|
||||
# For example, to enable LSB name support in /etc/cron.d/, use
|
||||
# EXTRA_OPTS='-l'
|
||||
#
|
||||
# Or, to log standard messages, plus jobs with exit status != 0:
|
||||
# EXTRA_OPTS='-L 5'
|
||||
#
|
||||
# For quick reference, the currently available log levels are:
|
||||
# 0 no logging (errors are logged regardless)
|
||||
# 1 log start of jobs
|
||||
# 2 log end of jobs
|
||||
# 4 log jobs with exit status != 0
|
||||
# 8 log the process identifier of child process (in all logs)
|
||||
#
|
||||
EXTRA_OPTS="-L 5"
|
||||
47
etc/default/rsync
Normal file
47
etc/default/rsync
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
# defaults file for rsync daemon mode
|
||||
#
|
||||
# This file is only used for init.d based systems!
|
||||
# If this system uses systemd, you can specify options etc. for rsync
|
||||
# in daemon mode by copying /lib/systemd/system/rsync.service to
|
||||
# /etc/systemd/system/rsync.service and modifying the copy; add required
|
||||
# options to the ExecStart line.
|
||||
|
||||
# start rsync in daemon mode from init.d script?
|
||||
# only allowed values are "true", "false", and "inetd"
|
||||
# Use "inetd" if you want to start the rsyncd from inetd,
|
||||
# all this does is prevent the init.d script from printing a message
|
||||
# about not starting rsyncd (you still need to modify inetd's config yourself).
|
||||
RSYNC_ENABLE=true
|
||||
|
||||
# which file should be used as the configuration file for rsync.
|
||||
# This file is used instead of the default /etc/rsyncd.conf
|
||||
# Warning: This option has no effect if the daemon is accessed
|
||||
# using a remote shell. When using a different file for
|
||||
# rsync you might want to symlink /etc/rsyncd.conf to
|
||||
# that file.
|
||||
# RSYNC_CONFIG_FILE=
|
||||
|
||||
# what extra options to give rsync --daemon?
|
||||
# that excludes the --daemon; that's always done in the init.d script
|
||||
# Possibilities are:
|
||||
# --address=123.45.67.89 (bind to a specific IP address)
|
||||
# --port=8730 (bind to specified port; default 873)
|
||||
RSYNC_OPTS=''
|
||||
|
||||
# run rsyncd at a nice level?
|
||||
# the rsync daemon can impact performance due to much I/O and CPU usage,
|
||||
# so you may want to run it at a nicer priority than the default priority.
|
||||
# Allowed values are 0 - 19 inclusive; 10 is a reasonable value.
|
||||
RSYNC_NICE='10'
|
||||
|
||||
# run rsyncd with ionice?
|
||||
# "ionice" does for IO load what "nice" does for CPU load.
|
||||
# As rsync is often used for backups which aren't all that time-critical,
|
||||
# reducing the rsync IO priority will benefit the rest of the system.
|
||||
# See the manpage for ionice for allowed options.
|
||||
# -c3 is recommended, this will run rsync IO at "idle" priority. Uncomment
|
||||
# the next line to activate this.
|
||||
# RSYNC_IONICE='-c3'
|
||||
|
||||
# Don't forget to create an appropriate config file,
|
||||
# else the daemon will not start.
|
||||
|
|
@ -3,5 +3,5 @@ TF_IP="127.0.0.1"
|
|||
TF_PORT="9200"
|
||||
TF_STORAGE_DIR="/var/lib/terraform-http-backend"
|
||||
TF_AUTH_ENABLED="false"
|
||||
#TF_USERNAME="sysadmin"
|
||||
#TF_PASSWORD="sunsa"
|
||||
#TF_USERNAME=""
|
||||
#TF_PASSWORD=""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue