Update mail-restart.php
This commit is contained in:
parent
81e9d6e7fb
commit
f151de7e74
1 changed files with 9 additions and 7 deletions
|
|
@ -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 ");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue