Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
Warden
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Pavel Valach
Warden
Commits
5127fd20
Commit
5127fd20
authored
12 years ago
by
Tomáš Plesník
Browse files
Options
Downloads
Patches
Plain Diff
uprava vypisu odinstalatoru, odstraneno vypnuti apache
parent
c372b0d9
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/warden-server/sh/uninstall.sh
+2
-14
2 additions, 14 deletions
src/warden-server/sh/uninstall.sh
with
2 additions
and
14 deletions
src/warden-server/sh/uninstall.sh
+
2
−
14
View file @
5127fd20
...
...
@@ -54,7 +54,6 @@ err_clean()
do
ln
-s
${
bin
}
/
$file
${
local_bin
}
/
$file
# create symlinks to /usr/local/bin
done
$init
start
# start server
cat
$err
rm
-rf
$err
$backup_dir
echo
...
...
@@ -104,13 +103,6 @@ warden_dir_chck()
}
stop_warden_server
()
{
echo
"Stopping Warden server ... "
${
init
}
stop 1>/dev/null 2>&1
}
backup
()
{
echo
-n
"Backing-up Warden server directory ... "
...
...
@@ -179,7 +171,6 @@ uninstall_file="/tmp/UNINSTALL"
old_package_version_file
=
"
${
etc
}
/package_version"
err
=
"/tmp/warden-err"
backup_dir
=
"/tmp/warden-backup"
init
=
"/etc/init.d/apache2"
# obtain version of installed warden-server package
obtain_package_version
...
...
@@ -190,9 +181,6 @@ echo "------------------------- Uninstallation process -------------------------
# check if $prefix/warden-server directory exist
warden_dir_chck
# stop running warden server
stop_warden_server
# make backup of currently installed warden-server package
backup
...
...
@@ -202,11 +190,11 @@ delete_symlinks
# do uninstallation
uninstall_warden_server
echo
echo
"Please follow post-uninstallation steps in
$uninstall_file
!"
echo
echo
"Uninstallation of
$package_version
package was SUCCESSFUL!"
echo
echo
"Please follow post-uninstallation steps in
$uninstall_file
!"
# cleanup section
rm
-rf
$err
$backup_dir
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment