Alternc  latest
Alternc logiel libre pour l'hébergement
local.sh_generic
Go to the documentation of this file.
1 #!/bin/bash
2 #
3 # AlternC - Web Hosting System - Configuration
4 # This file will be modified on package configuration
5 # (e.g. upgrade or dpkg-reconfigure alternc)
6 
7 # Hosting service name
8 HOSTING="AlternC"
9 
10 # Primary hostname for this box (will be used to access the management panel)
11 FQDN="phpunit-test.tld"
12 
13 # Public IP
14 PUBLIC_IP="128.66.0.42"
15 
16 # Internal IP
17 # (most of the time, should be equal to PUBLIC_IP, unless you are behind
18 # firewall doing address translation)
19 INTERNAL_IP="128.66.0.99"
20 
21 # Monitoring IP or network (will be allowed to access Apache status)
22 MONITOR_IP=""
23 
24 # Primary DNS hostname
25 NS1_HOSTNAME="phpunit-test.tld"
26 
27 # Secondary DNS hostname
28 NS2_HOSTNAME="phpunit-test.tld"
29 
30 # Mail server hostname
31 DEFAULT_MX="phpunit-test.tld"
32 
33 # Secondary mail server hostname
34 DEFAULT_SECONDARY_MX=""
35 
36 # Note: MySQL username/password configuration now stored in /etc/alternc/my.cnf
37 
38 # quels clients mysql sont permis (%, localhost, etc)
39 MYSQL_CLIENT="localhost"
40 
41 # the type of backup created by the sql backup script
42 # valid options are "rotate" (newsyslog-style) or "date" (suffix is the date)
43 SQLBACKUP_TYPE="rotate"
44 
45 # overwrite existing files when backing up
46 SQLBACKUP_OVERWRITE="no"
47 
48 # known slave servers, empty for none, localhost is special (no ssh)
49 ALTERNC_SLAVES=""
50 
51 # File to look at for forced launch of update_domain (use incron)
52 INOTIFY_UPDATE_DOMAIN="/tmp/inotify_update_domain.lock"
53 
54 INOTIFY_DO_ACTION="/tmp/inotify_do_action.lock"
55 
56 # Folder holding data (used for quota management)
57 ALTERNC_HTML="/tmp/var/www/alternc"
58 ALTERNC_MAIL="/tmp/var/mail/alternc"
59 ALTERNC_LOGS="/tmp/var/logs/alternc/sites"
60