diff --git a/src/warden-server/sh/uninstall.sh b/src/warden-server/sh/uninstall.sh index 112d420e3a4d86d0f3b2d453d019c32d2570408c..83817557670b6c8a1552fab1dda0e5c7f125fc62 100755 --- a/src/warden-server/sh/uninstall.sh +++ b/src/warden-server/sh/uninstall.sh @@ -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