-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathserver-scripts.conf.example
More file actions
74 lines (58 loc) · 1.86 KB
/
Copy pathserver-scripts.conf.example
File metadata and controls
74 lines (58 loc) · 1.86 KB
1
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
#!/bin/bash
# all
MAILTO="mail@example.com"
# dbdump, dbundump
DB_BACKUPS_ROOT="/var/backups/sql"
DB_BACKUPS_LOG="/var/log/mysql_backup.log"
DB_BACKUPS_REMOTE_USER="root"
DB_BACKUPS_REMOTE_HOST="mysql_backup"
DB_BACKUPS_REMOTE_DIR="/var/backups/sql/remote_host"
DB_BACKUPS_EXCLUDED_DBS="_test$"
DB_BACKUPS_CLEAN_OLDER_DAYS="365"
DB_BACKUPS_CLEAN_OLDER_DAYS_TO_ONE="2"
# backups-check
BACKUPS_CHECK_DIRS=(
"$DB_BACKUPS_ROOT"
)
# db-size
DB_SIZE_NAMES_FILE="/root/log/drupal_dbs.log"
DB_SIZE_SIZES_FILE="/root/log/drupal_dbs_sizes.log"
DB_SIZE_CACHE_MINS=30
# domains-check
DOMAINS_CHECK_DNS="8.8.8.8"
DOMAINS_CHECK_ASSERT_IP="your_server_ip"
# detect-viruses
VIRUSES_LOG="/var/log/viruses.log"
VIRUSES_PHP_SIGNATURES="eval(base64_decode\|'base'.(32*2\|eval(stripslashes\|FilesMan\|WSO_VERSION\|\$sF=\"PCT4BA6ODSE_\"\|\$qV=\"stop_\"\|=chr("
VIRUSES_PHP_SIGNATURES_EXCLUDED="filesManag"
VIRUSES_PHP_FILES_EXCLUDED="easy-captcha.php\|tfpdf.php"
VIRUSES_JS_SIGNATURES="document.write(unescape"
# drupal-build-archives
DRUPAL_PROJECTS_ROOT="/usr/local/drupal"
DRUPAL_PROJECTS_TYPES="features libraries modules profiles themes"
DRUPAL_PROJECTS_BUILD_ROOT="$DRUPAL_PROJECTS_ROOT/build"
# drupal-enable-caches
DRUPAL_CACHE_LIFETIME=43200
DRUPAL_PAGE_CACHE_MAXIMUM_AGE=300
# drupal-get-drupals
DRUPAL_ROOT_LEVEL=4 # for /home/user/www/example.com
SITE_EXCLUDED_FILE=".excluded"
SITE_INFO_FILE=".info"
# get-password
PASSWORD_LENGTH=12
# influxdb-annotate
INFLUXDB_HOST="localhost"
INFLUXDB_PORT=8086
INFLUXDB_USER=""
INFLUXDB_PASSWORD=""
INFLUXDB_DATABASE="telegraf"
INFLUXDB_MEASUREMENT="event"
# influxdb-clientstat
INFLUXDB_CLIENTSTAT_LOG_FILE="/var/log/nginx/clientstat.access.log"
# sites-load
SITES_LOAD_TIME_ENABLED="0"
SITES_LOAD_LOG_FILE="/var/log/nginx/access.log"
# ssh-add-keys
SSH_PUBLIC_KEYS_DIR="/root/ssh-public-keys"
USER_SETUP_HOMEDIR_MODE="710"
USER_SETUP_HOMEDIR_GROUP="www-data"