Merge remote-tracking branch 'origin/pu' into pu
This commit is contained in:
commit
08ba0e38bd
|
@ -30,7 +30,7 @@ $ssl->cron_new_certs();
|
|||
$services=array("postfix","dovecot","proftpd","apache2");
|
||||
|
||||
foreach($services as $service) {
|
||||
passthru("service $service status",&$ret);
|
||||
passthru("service $service status",$ret);
|
||||
if ($ret!=0) {
|
||||
echo "$service not running, restarting\n";
|
||||
passthru("service $service restart");
|
||||
|
|
Loading…
Reference in New Issue