mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-02-01 18:11:14 -05:00
Merge pull request #1070 from pliablepixels/1069-api-restart-monitor-on-edit
restart monitor when edited via APIs
This commit is contained in:
@@ -89,6 +89,9 @@ class MonitorsController extends AppController {
|
||||
'message' => $message,
|
||||
'_serialize' => array('message')
|
||||
));
|
||||
// PP - restart this monitor after change
|
||||
$this->daemonControl($this->Monitor->id, 'restart', $this->request->data);
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user