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