Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
apollo
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
openSource
apollo
Commits
4221dc66
Commit
4221dc66
authored
Apr 27, 2017
by
nobodyiam
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove sudo before shutdown as it is not needed anymore
parent
bc0e4846
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
27 deletions
+0
-27
sudo_before_shutdown.sh
apollo-adminservice/src/main/scripts/sudo_before_shutdown.sh
+0
-9
sudo_before_shutdown.sh
...lo-configservice/src/main/scripts/sudo_before_shutdown.sh
+0
-9
sudo_before_shutdown.sh
apollo-portal/src/main/scripts/sudo_before_shutdown.sh
+0
-9
No files found.
apollo-adminservice/src/main/scripts/sudo_before_shutdown.sh
deleted
100644 → 0
View file @
bc0e4846
#!/bin/bash
if
grep
-Fq
"LimitNOFILE"
/usr/lib/systemd/system/ctripapp
\@
100003172.service
;
then
echo
"already set LimitNOFILE"
;
else
sed
-i
'/\[Service\]/a\LimitNOFILE=65536'
/usr/lib/systemd/system/ctripapp
\@
100003172.service
;
systemctl daemon-reload
fi
\ No newline at end of file
apollo-configservice/src/main/scripts/sudo_before_shutdown.sh
deleted
100644 → 0
View file @
bc0e4846
#!/bin/bash
if
grep
-Fq
"LimitNOFILE"
/usr/lib/systemd/system/ctripapp
\@
100003171.service
;
then
echo
"already set LimitNOFILE"
;
else
sed
-i
'/\[Service\]/a\LimitNOFILE=65536'
/usr/lib/systemd/system/ctripapp
\@
100003171.service
;
systemctl daemon-reload
fi
\ No newline at end of file
apollo-portal/src/main/scripts/sudo_before_shutdown.sh
deleted
100644 → 0
View file @
bc0e4846
#!/bin/bash
if
grep
-Fq
"LimitNOFILE"
/usr/lib/systemd/system/ctripapp
\@
100003173.service
;
then
echo
"already set LimitNOFILE"
;
else
sed
-i
'/\[Service\]/a\LimitNOFILE=65536'
/usr/lib/systemd/system/ctripapp
\@
100003173.service
;
systemctl daemon-reload
fi
\ No newline at end of file
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