Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
custom-server
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lizhonghong
custom-server
Commits
87ce3646
Commit
87ce3646
authored
Jun 30, 2026
by
Lizh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加测试test配置文件
parent
ef7c8d87
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
1 deletions
+20
-1
custom-server-starter/src/main/bin/stop.sh
+1
-1
custom-server-starter/src/main/resources/application-test.yml
+19
-0
No files found.
custom-server-starter/src/main/bin/stop.sh
View file @
87ce3646
...
@@ -9,7 +9,7 @@ MAX_WAIT=5
...
@@ -9,7 +9,7 @@ MAX_WAIT=5
if
[
-f
"
$PID_FILE
"
]
;
then
if
[
-f
"
$PID_FILE
"
]
;
then
PID
=
$(
cat
"
$PID_FILE
"
)
PID
=
$(
cat
"
$PID_FILE
"
)
if
!
"
$JAVA_HOME
/bin/jps"
-l
2>/dev/null |
grep
-q
"^
${
PID
}
.*
${
APP_JAR
}
"
;
then
if
!
"
$JAVA_HOME
/bin/jps"
-l
2>/dev/null |
grep
-q
"^
${
PID
}
.*
${
APP_JAR
}
"
;
then
rm
-f
"
$PID_FILE
"
#
rm -f "$PID_FILE"
PID
=
""
PID
=
""
fi
fi
else
else
...
...
custom-server-starter/src/main/resources/application-test.yml
0 → 100644
View file @
87ce3646
# Spring 配置
spring
:
# 数据源配置
datasource
:
url
:
jdbc:mysql://121.40.229.247:3306/foxpsd-private?autoReconnect=true&useUnicode=true&characterEncoding=utf8&useSSL=false
username
:
foxpsd-private
password
:
testJm2025@$
# Redis 配置
data
:
redis
:
host
:
172.16.19.100
port
:
6379
password
:
joshine.dev
database
:
7
# 令牌配置
token
:
header
:
Authorization
# 令牌密钥(兼容旧版本)
secret
:
custom
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment