ClearOS Bug Tracker


View Revisions: Issue #3641 All Revisions ] Back to Issue ]
Summary 0003641: Changing Primary/Backup status from GUI does not restart syswatch
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();
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-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();