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 954bd12f28
commit 4fb700d3fd
2 changed files with 2 additions and 2 deletions

View File

@ -3595,7 +3595,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