All Downloads are FREE. Search and download functionalities are using the official Maven repository.

refcodes-batch.0.3.0.source-code.dummy.config Maven / Gradle / Ivy

There is a newer version: 1.0.5
Show newest version
#!/bin/bash

# ------------------------------------------------------------------------------
# Standard variables:
# ------------------------------------------------------------------------------
THIS_DIR="${BASH_ARGV[0]%/*}"

################################################################################
# INCLUDES:
################################################################################

# . $SCRIPT_DIR/lib-website-config.inc

################################################################################
# GENERAL SETTINGS:
################################################################################

# ------------------------------------------------------------------------------
# Used to calculate the other paths:
# ------------------------------------------------------------------------------
HOME_DIR="/home/steiner"

################################################################################
# DUMP FOLDER:
# ------------------------------------------------------------------------------
# The dump folder must be a local hard drive's folder with lots of space on the 
# drive left as this folder is used in space consuming operations such as 
# archiving lots of data as a temporary folder to avoid archiving to a network
# device which would slow down the operation profoundly.
################################################################################

# ------------------------------------------------------------------------------
# Set to 'y' if a site is used/configured, else 'n':
# ------------------------------------------------------------------------------
DUMP=y

# ------------------------------------------------------------------------------
# The dump directory for big temporary files:
# ------------------------------------------------------------------------------
DUMP_DIR=${HOME_DIR}/Dump

################################################################################
# DOMAIN:
################################################################################

# ------------------------------------------------------------------------------
# The host name on which to configure:
# ------------------------------------------------------------------------------
# DOMAIN_NAME="domain.de"

################################################################################
# WEBSITE:
################################################################################

# ------------------------------------------------------------------------------
# Set to 'y' if a site is used/configured, else 'n':
# ------------------------------------------------------------------------------
WEBSITE=n

# ------------------------------------------------------------------------------
# The fully qualified domain name for the site to be managed:
# ------------------------------------------------------------------------------
# WEBSITE_DOMAIN_NAME="www.$DOMAIN_NAME"

# ------------------------------------------------------------------------------
# "third-level-label" (TLL), "second-level-label" (SLL),"top-level-domain" (TLD):
# ------------------------------------------------------------------------------

# toTLL $WEBSITE_DOMAIN_NAME
# toSLL $WEBSITE_DOMAIN_NAME
# toTLD $WEBSITE_DOMAIN_NAME

# ------------------------------------------------------------------------------
# The sub-path for all website specific path's:
# ------------------------------------------------------------------------------
# WEBSITE_SUB_DIR="$SLL.$TLD/$TLL"

# ------------------------------------------------------------------------------
# The directory where the local site files reside (what you might put below
# "/var/www"):
# ------------------------------------------------------------------------------
# WEBSITE_DIR="$HOME_DIR/Websites/$WEBSITE_SUB_DIR"

# ------------------------------------------------------------------------------
# The user to use for file access rights for the site's files. Make shure
# either the SITE_USER or the SITE_GROUP grants access for your webserver:
# ------------------------------------------------------------------------------
# WEBSITE_FS_USER="steiner"

# ------------------------------------------------------------------------------
# The group to use for file access rights for the site's files. Make shure
# either the SITE_USER or the SITE_GROUP grants access for your webserver:
# ------------------------------------------------------------------------------
# WEBSITE_FS_GROUP="www-data"

# ------------------------------------------------------------------------------
# The directory where the local log files for that site are to be placed (what
# you might put below "/var/logs"):
# ------------------------------------------------------------------------------
# WEBSITE_LOGS_DIR="$HOME_DIR/Logs/$SLL.$TLD/$TLL"

# ------------------------------------------------------------------------------
# The admin email set in the apache vhost configuration for this site:
# ------------------------------------------------------------------------------
# [email protected]

################################################################################
# DB:
################################################################################

# ------------------------------------------------------------------------------
# Set to 'y' if a DB is used/configured, else 'n':
# ------------------------------------------------------------------------------
DB=n

# ------------------------------------------------------------------------------
# The DB name for the DB to be used:
# ------------------------------------------------------------------------------
# DB_NAME="${SLL}_${TLL}"

# ------------------------------------------------------------------------------
# The DB user to be used:
# ------------------------------------------------------------------------------
# DB_USER_NAME="maintainer"

# ------------------------------------------------------------------------------
# The databse user's password to be used, must be the same local or remote
# (as we replicate the webapp config as well):
# ------------------------------------------------------------------------------
# DB_USER_PASSWORD=""

# ------------------------------------------------------------------------------
# The host on which the DB resides:
# ------------------------------------------------------------------------------
# DB_HOSTNAME="localhost"

# ------------------------------------------------------------------------------
# The DB character set defines the character set used for cration of the DB:
# ------------------------------------------------------------------------------
# DB_CHARACTER_SET="utf8"

# ------------------------------------------------------------------------------
# The DB collate defines the collation used for creation of the DB:
# ------------------------------------------------------------------------------
# DB_COLLATE="utf8_unicode_ci"

################################################################################
# DB_BACKUP:
################################################################################

# ------------------------------------------------------------------------------
# Set to 'y' if want to enable DB backups, else 'n':
# ------------------------------------------------------------------------------
DB_BACKUP=n

# ------------------------------------------------------------------------------
# The backup directory for the DB backup files:
# ------------------------------------------------------------------------------
# DB_BACKUP_DIR="$HOME_DIR/Backup/batch/triton/Websites/$WEBSITE_SUB_DIR"

# ------------------------------------------------------------------------------
# The base name for the DB backup archive:
# ------------------------------------------------------------------------------
# DB_BACKUP_BASE_NAME="$DB_NAME"

# ------------------------------------------------------------------------------
# The user to use for file access rights on the DB backup files:
# ------------------------------------------------------------------------------
# DB_BACKUP_FS_USER="steiner"

# ------------------------------------------------------------------------------
# The group to use for file access rights on the DB backup files:
# ------------------------------------------------------------------------------
# DB_BACKUP_FS_GROUP="users"

################################################################################
# DB_MIRROR:
################################################################################

# ------------------------------------------------------------------------------
# Set to 'y' if a DB mirror is used/configured, else 'n':
# ------------------------------------------------------------------------------
DB_MIRROR=n

# ------------------------------------------------------------------------------
# The DB mirror name for the DB to be used:
# ------------------------------------------------------------------------------
# DB_MIRROR_NAME="$DB_NAME"

# ------------------------------------------------------------------------------
# The DB mirror user to be used:
# ------------------------------------------------------------------------------
# DB_MIRROR_USER_NAME="maintainer"

# ------------------------------------------------------------------------------
# The DB mirror's user password to be used:
# ------------------------------------------------------------------------------
# DB_MIRROR_USER_PASSWORD="********"

# ------------------------------------------------------------------------------
# The host on which the DB mirror resides:
# ------------------------------------------------------------------------------
# DB_MIRROR_HOSTNAME="$DOMAIN_NAME"

################################################################################
# FOLDER:
################################################################################

# ------------------------------------------------------------------------------
# Set to 'y' if we want to enable folder based commands, else 'n':
# ------------------------------------------------------------------------------
FOLDER=y

# ------------------------------------------------------------------------------
# The path of the folder for folder based commands:
# ------------------------------------------------------------------------------
FOLDER_DIR="$HOME_DIR/Test"

################################################################################
# FOLDER_BACKUP:
################################################################################

# ------------------------------------------------------------------------------
# Set to 'y' if want to enable folder backups, else 'n':
# ------------------------------------------------------------------------------
FOLDER_BACKUP=y

# ------------------------------------------------------------------------------
# The folder for the backups:
# ------------------------------------------------------------------------------
FOLDER_BACKUP_DIR="$HOME_DIR/Backup"

# ------------------------------------------------------------------------------
# The base name for the folder backup archive:
# ------------------------------------------------------------------------------
FOLDER_BACKUP_BASE_NAME="test"

# ------------------------------------------------------------------------------
# The user to use for file access rights on folder backup:
# ------------------------------------------------------------------------------
FOLDER_BACKUP_FS_USER="steiner"

# ------------------------------------------------------------------------------
# The group to use for file access rights on the folder backup:
# ------------------------------------------------------------------------------
FOLDER_BACKUP_FS_GROUP="users"

################################################################################
# FOLDER_MIRROR:
################################################################################

# ------------------------------------------------------------------------------
# Set to 'y' if we mirror our folder, else 'n':
# ------------------------------------------------------------------------------
FOLDER_MIRROR=n

# ------------------------------------------------------------------------------
# The mirror folder with the files to be mirrored from/to:
# ------------------------------------------------------------------------------
# FOLDER_MIRROR_DIR="$FOLDER_BACKUP_DIR"

################################################################################
# APACHE2:
################################################################################

# ------------------------------------------------------------------------------
# Set to 'y' if we have an Apache2 webserver, else 'n':
# ------------------------------------------------------------------------------
APACHE2=n

# ------------------------------------------------------------------------------
# The path to your Typo3 installation:
# ------------------------------------------------------------------------------
# APACHE2_DIR=/etc/apache2

# ------------------------------------------------------------------------------
# Set to 'y' in case you want to use "HTTP" SSL encryption:
# ------------------------------------------------------------------------------
APACHE2_SSL=n

################################################################################
# MEDIAWIKI:
################################################################################

# ------------------------------------------------------------------------------
# Set to 'y' if we have a Mediawiki based site, else 'n':
# ------------------------------------------------------------------------------
MEDIAWIKI=n

# ------------------------------------------------------------------------------
# The path to your Mediawiki installation:
# ------------------------------------------------------------------------------
# MEDIAWIKI_DIR="/opt/mediawiki"

# ------------------------------------------------------------------------------
# Base version of the Mediawiki this site uses:
# ------------------------------------------------------------------------------
# MEDIAWIKI_VERSION=1.16

################################################################################
# SSH:
################################################################################

# . $THIS_DIR/ssh-webserver.config

################################################################################
# TYPO3:
################################################################################

# ------------------------------------------------------------------------------
# Set to 'y' if we have a Typo3 based site, else 'n':
# ------------------------------------------------------------------------------
TYPO3=n

# ------------------------------------------------------------------------------
# The path to your Typo3 installation:
# ------------------------------------------------------------------------------
# TYPO3_DIR="/opt/typo3_src"

################################################################################
# TYPO3_TEMPLATE:
################################################################################

# ------------------------------------------------------------------------------
# Set to 'y' if we have a "typo3_template" based site, else 'n':
# ------------------------------------------------------------------------------
TYPO3_TEMPLATE=n

# ------------------------------------------------------------------------------
# The path to your "typo3_template" installation:
# ------------------------------------------------------------------------------
# TYPO3_TEMPLATE_DIR="/opt/typo3_template"




© 2015 - 2024 Weber Informatics LLC | Privacy Policy