fix the defect #4217 [FVT]pgsqlsetup -i failed to start postgresql

This commit is contained in:
immarvin 2014-07-15 03:10:05 -07:00
parent 399159c045
commit dd1478c5e1
2 changed files with 2 additions and 2 deletions

View File

@ -3624,7 +3624,7 @@ sub servicemap{
}elsif ($svcmgrtype == 1){
$path="/usr/lib/systemd/system/";
$postfix=".service";
$retdefault=$svcname.".service";
# $retdefault=$svcname.".service";
}elsif ($svcmgrtype == 2){
$path="/etc/init/";
$postfix=".conf";

View File

@ -298,7 +298,7 @@ function servicemap {
if [ "$svcmgrtype" = "0" ];then
path="/etc/init.d/"
elif [ "$svcmgrtype" = "1" ];then
retdefault=$svcname.service
#retdefault=$svcname.service
path="/usr/lib/systemd/system/"
postfix=".service"
elif [ "$svcmgrtype" = "2" ];then