feat: add all options

Signed-off-by: Xinwei Xiong(cubxxw-openim) <3293172751nss@gmail.com>
This commit is contained in:
Xinwei Xiong(cubxxw-openim)
2023-08-21 21:17:30 +08:00
parent b02d65bf9a
commit 84c7cc1801
34 changed files with 259 additions and 1287 deletions
+20 -1
View File
@@ -85,4 +85,23 @@ for ((i = 0; i < ${#OPENIM_API_SERVICE_LISTARIES[*]}; i++)); do
done
OPENIM_API_PORT_STRINGARIES=( $(openim::util::list-to-string ${OPENIM_API_PORT_LISTARIES[@]}) )
openim::util::check_ports ${OPENIM_API_PORT_STRINGARIES[@]}
openim::util::check_ports ${OPENIM_API_PORT_STRINGARIES[@]}
###################################### Linux Systemd ######################################
SYSTEM_FILE_PATH="/etc/systemd/system/${SERVER_NAME}.service"
function openim::api::install() {
}
function openim::api::uninstall() {
}
function openim::api::status() {
}
if [[ "$*" =~ ${SERVER_NAME}:: ]];then
eval $*
fi