local.sh_generic 1.58 KB
Newer Older
Alan Garcia's avatar
Alan Garcia committed
1
#!/bin/bash
fufroma's avatar
fufroma committed
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
#
# AlternC - Web Hosting System - Configuration
# This file will be modified on package configuration
# (e.g. upgrade or dpkg-reconfigure alternc)

# Hosting service name
HOSTING="AlternC"

# Primary hostname for this box (will be used to access the management panel)
FQDN="phpunit-test.tld"

# Public IP
PUBLIC_IP="128.66.0.42"

# Internal IP
# (most of the time, should be equal to PUBLIC_IP, unless you are behind
# firewall doing address translation)
INTERNAL_IP="128.66.0.99"

# Monitoring IP or network (will be allowed to access Apache status)
MONITOR_IP=""

# Primary DNS hostname
NS1_HOSTNAME="phpunit-test.tld"

# Secondary DNS hostname
NS2_HOSTNAME="phpunit-test.tld"

# Mail server hostname
DEFAULT_MX="phpunit-test.tld"

# Secondary mail server hostname
DEFAULT_SECONDARY_MX=""

# Note: MySQL username/password configuration now stored in /etc/alternc/my.cnf

# quels clients mysql sont permis (%, localhost, etc)
MYSQL_CLIENT="localhost"

# the type of backup created by the sql backup script
# valid options are "rotate" (newsyslog-style) or "date" (suffix is the date)
SQLBACKUP_TYPE="rotate"

# overwrite existing files when backing up
SQLBACKUP_OVERWRITE="no"

# known slave servers, empty for none, localhost is special (no ssh)
ALTERNC_SLAVES=""

# File to look at for forced launch of update_domain (use incron)
52
INOTIFY_UPDATE_DOMAIN="/tmp/inotify_update_domain.lock"
fufroma's avatar
fufroma committed
53

54
INOTIFY_DO_ACTION="/tmp/inotify_do_action.lock"
fufroma's avatar
fufroma committed
55 56 57 58 59 60

# Folder holding data (used for quota management)
ALTERNC_HTML="/tmp/var/www/alternc"
ALTERNC_MAIL="/tmp/var/mail/alternc"
ALTERNC_LOGS="/tmp/var/logs/alternc/sites"