22 |
# config settings |
# config settings |
23 |
include @@SYSCONFDIR@@/mcore/mcore.conf |
include @@SYSCONFDIR@@/mcore/mcore.conf |
24 |
|
|
25 |
|
# 0=false, 1=true |
26 |
DEBUG=1 |
DEBUG=1 |
27 |
NOCOLORS="false" |
NOCOLORS=0 |
28 |
WEBCRLF="false" |
WEBCRLF=0 |
29 |
QUIET="false" |
QUIET=0 |
30 |
|
|
31 |
# argvs are global variables - this fixes issues with whitespaces |
# argvs are global variables - this fixes issues with whitespaces |
32 |
# global argvs, the whole command line |
# global argvs, the whole command line |
62 |
reload) valid_session && mecho "reloading client classes ..." && load_classes client ;; |
reload) valid_session && mecho "reloading client classes ..." && load_classes client ;; |
63 |
restart) valid_session && restart_service ;; |
restart) valid_session && restart_service ;; |
64 |
stop) valid_session && stop_service ;; |
stop) valid_session && stop_service ;; |
65 |
nocolors) export NOCOLORS="true" ;; |
nocolors) export NOCOLORS=1 ;; |
66 |
colors) export NOCOLORS="false" ;; |
colors) export NOCOLORS=0 ;; |
67 |
webcrlf) export WEBCRLF="true" ;; |
webcrlf) export WEBCRLF=1 ;; |
68 |
quiet) export QUIET="true" ;; |
quiet) export QUIET=1 ;; |
69 |
# version does not need auth |
# version does not need auth |
70 |
version) print_version ;; |
version) print_version ;; |
71 |
help) |
help) |