Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.package
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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Douglas
slapos.package
Commits
7d2f5e56
Commit
7d2f5e56
authored
Sep 04, 2013
by
Marco Mariani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
typos
parent
2eb41cbf
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
windows/scripts/slapos-cleanup.sh
windows/scripts/slapos-cleanup.sh
+4
-4
No files found.
windows/scripts/slapos-cleanup.sh
View file @
7d2f5e56
#! /bin/bash
#! /bin/bash
#
#
# When uninstall slapos, it will be called by uninstaller. Root right
# When uninstall
ing
slapos, it will be called by uninstaller. Root right
# required to run this script.
# required to run this script.
#
#
# /bin/bash/ --login -i pre-uninstall.sh
# /bin/bash/ --login -i pre-uninstall.sh
...
@@ -36,7 +36,7 @@ readonly -f slapos_kill_process
...
@@ -36,7 +36,7 @@ readonly -f slapos_kill_process
#
#
for
name
in
${
re6stnet_service_name
}
${
cron_service_name
}
\
for
name
in
${
re6stnet_service_name
}
${
cron_service_name
}
\
${
syslog_service_name
}
${
cygserver_service_name
}
;
do
${
syslog_service_name
}
${
cygserver_service_name
}
;
do
echo
"Removing ervice
$name
"
echo
"Removing
s
ervice
$name
"
cygrunsrv
-R
$name
&&
echo
OK.
cygrunsrv
-R
$name
&&
echo
OK.
done
done
...
@@ -44,7 +44,7 @@ done
...
@@ -44,7 +44,7 @@ done
# Stop slapos
# Stop slapos
#
#
if
[[
-x
/opt/slapos/bin/slapos
]]
;
then
if
[[
-x
/opt/slapos/bin/slapos
]]
;
then
echo
"Stoping slapos node ..."
echo
"Stop
p
ing slapos node ..."
/opt/slapos/bin/slapos node stop all
&&
echo
OK.
/opt/slapos/bin/slapos node stop all
&&
echo
OK.
fi
fi
slapos_kill_process /usr/bin/python2.7
slapos_kill_process /usr/bin/python2.7
...
@@ -78,7 +78,7 @@ echo "Removing ${_filename}"
...
@@ -78,7 +78,7 @@ echo "Removing ${_filename}"
rm
-rf
${
_filename
}
&&
echo
OK.
rm
-rf
${
_filename
}
&&
echo
OK.
#
#
# Remove default instance root and software root, because
it
belong to
# Remove default instance root and software root, because
they
belong to
# slapuser, and would not be removed by the windows uninstaller.
# slapuser, and would not be removed by the windows uninstaller.
#
#
[[
-f
/srv/slapgrid
]]
&&
echo
"Removing /srv/slapgrid"
&&
rm
-rf
/srv/slapgrid
&&
echo
OK.
[[
-f
/srv/slapgrid
]]
&&
echo
"Removing /srv/slapgrid"
&&
rm
-rf
/srv/slapgrid
&&
echo
OK.
...
...
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