Update defaults.inc
This commit is contained in:
20
defaults.inc
20
defaults.inc
@@ -36,6 +36,16 @@ SCRIPT=${FOLDER}/nodemgmt-scripts.sh
|
||||
LOGFILE=${FOLDER}/logfile
|
||||
RENOTIFY=900
|
||||
|
||||
NM_SRVCOPT=(start stop restart reload enable disable)
|
||||
|
||||
#MYSQL_REPL_CHECK=( )
|
||||
#WEB_REPL_CHECK=(nginx www ssl lessh php pma pdnsa)
|
||||
WEB_REPL_CHECK=( web-data )
|
||||
LB_REPL_CHECK=( lb-data )
|
||||
#NC_REPL_CHECK=(apache nextcloud-php nextcloud-data)
|
||||
#NC_REPL_CHECK=( )
|
||||
|
||||
|
||||
|
||||
declare -A NM_HOSTNAMES
|
||||
NM_HOSTNAMES['10.10.1.121']='Webserver-Node1'
|
||||
@@ -151,7 +161,6 @@ NM_SRVCOPTS['enable']='Enabl'
|
||||
NM_SRVCOPTS['disable']='Disabl'
|
||||
NM_SRVCOPTS['daemon-reload']='Daemon-Reload'
|
||||
|
||||
NM_SRVCOPT=(start stop restart reload enable disable)
|
||||
|
||||
declare -A REPL_CHECKS
|
||||
REPL_CHECKS['apache']='/etc/apache2'
|
||||
@@ -162,6 +171,7 @@ REPL_CHECKS['ssl']='/mnt/web-data/letsencrypt'
|
||||
REPL_CHECKS['lessh']='/home/le/.ssh'
|
||||
REPL_CHECKS['php']='/mnt/web-data/php'
|
||||
REPL_CHECKS['www']='/mnt/web-data/www'
|
||||
REPL_CHECKS['web-data']='/mnt/web-data'
|
||||
REPL_CHECKS['git']='/mnt/web-data/gitea'
|
||||
REPL_CHECKS['gitssh']='/home/git'
|
||||
REPL_CHECKS['pma']='/mnt/web-data/phpmyadmin'
|
||||
@@ -169,13 +179,6 @@ REPL_CHECKS['pdnsa']='/mnt/web-data/powerdns-admin'
|
||||
REPL_CHECKS['nextcloud-data']='/mnt/Nextcloud-Data'
|
||||
REPL_CHECKS['nextcloud-php']='/etc/php'
|
||||
|
||||
#MYSQL_REPL_CHECK=( )
|
||||
#WEB_REPL_CHECK=(nginx www ssl lessh php pma pdnsa)
|
||||
WEB_REPL_CHECK=( www )
|
||||
LB_REPL_CHECK=( lb-data )
|
||||
#NC_REPL_CHECK=(apache nextcloud-php nextcloud-data)
|
||||
#NC_REPL_CHECK=( )
|
||||
|
||||
declare -A REPL_DESC
|
||||
REPL_DESC['apache']='Apache Settings'
|
||||
REPL_DESC['nginx']='NGINX Settings'
|
||||
@@ -185,6 +188,7 @@ REPL_DESC['ssl']='SSL Certificates'
|
||||
REPL_DESC['lessh']='LetsEncrypt SSH Keys'
|
||||
REPL_DESC['php']='PHP Settings'
|
||||
REPL_DESC['www']='Webserver Files'
|
||||
REPL_DESC['web-data']='Web Data (NGINX/PHP)'
|
||||
REPL_DESC['git']='Gitea System'
|
||||
REPL_DESC['gitssh']='Gitea SSH Keys'
|
||||
REPL_DESC['pma']='phpMyAdmin Settings'
|
||||
|
||||
Reference in New Issue
Block a user