moxbox init

This commit is contained in:
monlor
2020-03-05 00:08:40 +08:00
commit 76dbe98978
856 changed files with 170708 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
service="JetBrains"
appname="jetbrains"
needver="0.0.1"
supports="linux_arm,linux_mips,linux_x86_64,darwin_x86_64"
appinfo="快速搭建JetBrains激活服务器"
newinfo=""
version="0.0.2"

View File

@@ -0,0 +1,18 @@
#------------------【Jetbrains】--------------------
jetbrains() {
eval `mbdb export jetbrains`
source /etc/mixbox/bin/base
echo "********* $service ***********"
echo "[${appinfo}]"
readsh "启动${appname}服务[1/0] " "enable" "1"
if [ "$enable" == '1' ]; then
readsh "请输入${appname}端口号" "port" "1001"
readsh "请输入${appname}外网访问配置[1/0]" "openport" "1"
${mbroot}/apps/${appname}/scripts/${appname}.sh restart
else
${mbroot}/apps/${appname}/scripts/${appname}.sh stop
fi
}
#------------------【JetBrains】--------------------

View File

@@ -0,0 +1 @@
1.0.3