|
|
@@ -2994,7 +2994,7 @@ echo \''.$plist.'\' > /Library/LaunchDaemons/parallels.'.$h->SERVER_ADDRESS.'.pl
|
|
|
DEBUG_S(-3, $cmd, $result);
|
|
|
|
|
|
echo "<br/>Aktualizacja certyfikatu";
|
|
|
- $cmd = 'prlctl exec "'.$h->SERVER_ADDRESS.'" "[ -f /etc/certificates/'.$h->SERVER_ADDRESS.'*.cert.pem ] && /Applications/Server.app/Contents/ServerRoot/usr/sbin/certupdate replace -c /etc/certificates/procesy5.local.*.cert.pem -C /etc/certificates/'.$h->SERVER_ADDRESS.'*.cert.pem 2>&1 || echo \'Certificate for '.$h->SERVER_ADDRESS.' not found.\'"';
|
|
|
+ $cmd = 'prlctl exec "'.$h->SERVER_ADDRESS.'" "[ -f /etc/certificates/'.$h->SERVER_ADDRESS.'*.cert.pem ] && /Applications/Server.app/Contents/ServerRoot/usr/sbin/certupdate replace -c /etc/certificates/procesy5.local.*.cert.pem -C /etc/certificates/'.$h->SERVER_ADDRESS.'*.cert.pem 2>&1"';
|
|
|
$result = execOnParallels($cmd);
|
|
|
DEBUG_S(-3, $cmd, $result);
|
|
|
if (!$result) throw new Exception("Wystąpił bląd instalacji certyfikatu, przerywam...");
|