Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
setup-manager
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
setup-manager
Commits
c6ecae4a
Commit
c6ecae4a
authored
Nov 19, 2024
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加php健康度检测
parent
511d8a1d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
setup-project-manager/src/main/java/com/mortals/xhx/module/setup/service/impl/SetupProjectServiceImpl.java
...hx/module/setup/service/impl/SetupProjectServiceImpl.java
+5
-0
No files found.
setup-project-manager/src/main/java/com/mortals/xhx/module/setup/service/impl/SetupProjectServiceImpl.java
View file @
c6ecae4a
...
...
@@ -134,6 +134,11 @@ public class SetupProjectServiceImpl extends AbstractCRUDServiceImpl<SetupProjec
//判断当前系统类型,执行不同shell 或者 bat脚本
if
(
SystemUtil
.
getOsInfo
().
isLinux
())
{
//todo 执行部署脚本
try
{
Runtime
.
getRuntime
().
exec
(
"chmod -R 777 "
+
destDir
);
}
catch
(
IOException
e
)
{
log
.
error
(
e
.
getMessage
());
}
//后端服务,创建service 启动服务
callScript
(
"project_deploy.sh"
,
"4"
,
publicPath
+
"/bin/"
);
}
else
if
(
SystemUtil
.
getOsInfo
().
isWindows
())
{
...
...
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