29 |
SQL_HOST=localhost |
SQL_HOST=localhost |
30 |
SQL_DB=alx_web |
SQL_DB=alx_web |
31 |
|
|
32 |
|
# 0=false, 1=true |
33 |
DEBUG=1 |
DEBUG=1 |
34 |
NOCOLORS="false" |
NOCOLORS=0 |
35 |
WEBCRLF="false" |
WEBCRLF=0 |
36 |
QUIET="false" |
QUIET=0 |
37 |
|
|
38 |
# argvs are global variables - this fixes issues with whitespaces |
# argvs are global variables - this fixes issues with whitespaces |
39 |
# global argvs, the whole command line |
# global argvs, the whole command line |
70 |
reload) valid_session && mecho "reloading client classes ..." && load_classes client ;; |
reload) valid_session && mecho "reloading client classes ..." && load_classes client ;; |
71 |
restart) valid_session && restart_service ;; |
restart) valid_session && restart_service ;; |
72 |
stop) valid_session && stop_service ;; |
stop) valid_session && stop_service ;; |
73 |
nocolors) export NOCOLORS="true" ;; |
nocolors) export NOCOLORS=1 ;; |
74 |
colors) export NOCOLORS="false" ;; |
colors) export NOCOLORS=0 ;; |
75 |
webcrlf) export WEBCRLF="true" ;; |
webcrlf) export WEBCRLF=1 ;; |
76 |
quiet) export QUIET="true" ;; |
quiet) export QUIET=1 ;; |
77 |
# version does not need auth |
# version does not need auth |
78 |
version) print_version ;; |
version) print_version ;; |
79 |
help) |
help) |