Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
I
install-test
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
External Wiki
External Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
minerva
install-test
Commits
ceff99a5
Commit
ceff99a5
authored
Mar 21, 2019
by
Piotr Gawron
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
proper tomcat package is used to restart
parent
a2a6b14e
Pipeline
#9395
failed with stage
in 4 minutes and 53 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
1 deletion
+15
-1
test_install.sh
test_install.sh
+15
-1
No files found.
test_install.sh
View file @
ceff99a5
...
...
@@ -19,7 +19,21 @@ chmod 0755 /usr/sbin/policy-rc.d
bash <
(
curl
-s
https://minerva.pages.uni.lu/doc/scripts/install.sh
)
mv
/usr/sbin/policy-rc.d.backup /usr/sbin/policy-rc.d
service tomcat8 start
TOMCAT_PACKAGE
=
""
;
TOMCAT7_OK
=
$(
dpkg-query
-W
--showformat
=
'${Status}\n'
tomcat7|grep
"install ok installed"
)
TOMCAT8_OK
=
$(
dpkg-query
-W
--showformat
=
'${Status}\n'
tomcat8|grep
"install ok installed"
)
if
[
"
$TOMCAT7_OK
"
!=
""
]
;
then
TOMCAT_PACKAGE
=
'tomcat7'
fi
if
[
"
$TOMCAT8_OK
"
!=
""
]
;
then
TOMCAT_PACKAGE
=
'tomcat8'
fi
service
$TOMCAT_PACKAGE
start
#we need to wait a bit for tomcat start
sleep
15
wget http://localhost:8080/minerva/
...
...
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