fix the defect #4217 [FVT]pgsqlsetup -i failed to start postgresql
This commit is contained in:
parent
954bd12f28
commit
4fb700d3fd
@ -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";
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user