update
This commit is contained in:
17
defaults.inc
17
defaults.inc
@@ -3,6 +3,7 @@
|
||||
VERS='1.02052019'
|
||||
NODE_HOSTS=10.5.10.51,10.5.10.52,10.5.10.53
|
||||
NODE_SERVICES=mysql,nginx,gitea,haproxy,keepalived,maxscale
|
||||
REPL_CHECKS=
|
||||
CERT_DAEMON='/usr/bin/certbot'
|
||||
FOLDER=/opt/idssys/nodemgmt
|
||||
SCRIPT=${FOLDER}/nodemgmt-scripts.sh
|
||||
@@ -33,6 +34,22 @@ NM_SRVCOPTS['reload']='Reload'
|
||||
NM_SRVCOPTS['enable']='Enabl'
|
||||
NM_SRVCOPTS['disable']='Disabl'
|
||||
|
||||
declare -A REPL_CHECKS
|
||||
REPL_CHECKS['nginx']='/etc/nginx'
|
||||
REPL_CHECKS['ssl']='/etc/letsencrypt'
|
||||
REPL_CHECKS['php']='/etc/php'
|
||||
REPL_CHECKS['www']='/var/www'
|
||||
REPL_CHECKS['git']='/var/lib/gitea'
|
||||
REPL_CHECKS['gitssh']='/home/git'
|
||||
|
||||
declare -A REPL_DESC
|
||||
REPL_DESC['nginx']= 'NGINX Settings'
|
||||
REPL_DESC['ssl']= 'SSL Certificates'
|
||||
REPL_DESC['php']= 'PHP Settings'
|
||||
REPL_DESC['www']= 'Webserver Files'
|
||||
REPL_DESC['git']= 'Gitea System'
|
||||
REPL_DESC['gitssh']='Gitea SSH Keys'
|
||||
|
||||
NM_SRVCOPT=(start stop restart reload enable disable)
|
||||
|
||||
DISP_HEADER(){
|
||||
|
||||
Reference in New Issue
Block a user