Update mail-restart.php

This commit is contained in:
gmarco 2025-03-08 11:46:44 +01:00
parent 81e9d6e7fb
commit f151de7e74

View file

@ -30,10 +30,12 @@ include_once("./include/db.php");
echo "<tr>". echo "<tr>".
"<td colspan=2>"; "<td colspan=2>";
if ($restricted_petar == false) {
echo "<p>+ [ <strong>DB rebuild TABLE: $TABLE</strong> ]<br>"; echo "<p>+ [ <strong>DB rebuild TABLE: $TABLE</strong> ]<br>";
$output = shell_exec("/usr/local/bin/sudo ".$mng_user." ".$PARAM); $output = shell_exec("/usr/local/bin/sudo ".$mng_user." ".$PARAM);
echo "<p>". echo "<p>".
"<pre>$output</pre>"; "<pre>$output</pre>";
}
echo "<p>+ [ <strong>SRV restart</strong> ]<br>"; echo "<p>+ [ <strong>SRV restart</strong> ]<br>";
$output = shell_exec("/usr/local/bin/sudo ".$mng_user." SRV "); $output = shell_exec("/usr/local/bin/sudo ".$mng_user." SRV ");