SYSTEM WARNING: 'file_get_contents(https://www.clearos.com/?rendertype=json&get=header): failed to open stream: Connection refused' in '/var/www/virtual/newwrapper/cf_topmenu.inc' line 5

ClearOS Bug Tracker


View Revisions: Issue #3641 Back to Issue ]
Summary 0003641: Changing Primary/Backup status from GUI does not restart syswatch
Revision 2015-07-15 12:27 by bchambers
Additional Information Pull in library deps:

use \clearos\apps\base\Daemon as Daemon;
clearos_load_library('base/Daemon');

And add:

// Restart syswatch
//-----------------

$syswatch = new Daemon('syswatch');
$syswatch->restart();
Revision 2015-07-15 12:32 by bchambers
Additional Information Pull in library deps:

use \clearos\apps\base\Daemon as Daemon;
clearos_load_library('base/Daemon');

And add:

// Restart syswatch
//-----------------

$syswatch = new Daemon('syswatch');
$syswatch->resett();
Revision 2015-08-07 09:56 by bchambers
Additional Information Pull in library deps:

use \clearos\apps\base\Daemon as Daemon;
clearos_load_library('base/Daemon');

And add:

// Restart syswatch
//-----------------

$syswatch = new Daemon('syswatch');
$syswatch->reset();

SYSTEM WARNING: 'file_get_contents(https://www.clearos.com/?rendertype=json&get=footer): failed to open stream: Connection refused' in '/var/www/virtual/newwrapper/cf_footer.inc' line 7