|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | | -<Export generator="Cache" version="25" zv="Cache for Windows (x86-32) 2015.1 (Build 429U)" ts="2015-07-28 15:22:47"> |
| 2 | +<Export generator="Cache" version="25" zv="Cache for Windows (x86-32) 2015.1 (Build 429U)" ts="2015-07-28 15:40:57"> |
3 | 3 | <Class name="kutac.monitor.utils.Installer"> |
4 | | -<TimeChanged>63761,55214.468859</TimeChanged> |
| 4 | +<TimeChanged>63761,56396.937793</TimeChanged> |
5 | 5 | <TimeCreated>63732,50627.865496</TimeCreated> |
6 | 6 |
|
7 | 7 | <XData name="Install"> |
@@ -109,7 +109,7 @@ do ##class(kutac.monitor.utils.Installer).setup(.pVars)</Description> |
109 | 109 |
|
110 | 110 | <Method name="Update"> |
111 | 111 | <ClassMethod>1</ClassMethod> |
112 | | -<FormalSpec>Namespace=$Namespace,Owner:%String="alexandrov-nikita",Repository:%String="deepsee-sysmon-dashboards",Branch:%String,Username:%String="alexandrov-nikita",Password:%String="lolipops561azaza"</FormalSpec> |
| 112 | +<FormalSpec>Namespace=$Namespace,Owner:%String="alexandrov-nikita",Repository:%String="deepsee-sysmon-dashboards",Branch:%String,Username:%String,Password:%String</FormalSpec> |
113 | 113 | <ReturnType>%Status</ReturnType> |
114 | 114 | <Implementation><![CDATA[ |
115 | 115 | Set namespace = $Namespace |
@@ -293,21 +293,10 @@ do ##class(kutac.monitor.utils.Installer).setup(.pVars)</Description> |
293 | 293 | <ClassMethod>1</ClassMethod> |
294 | 294 | <ReturnType>%Status</ReturnType> |
295 | 295 | <Implementation><![CDATA[ |
296 | | - set sc = ##class(%SYS.Monitor).Start() |
297 | | - if sc = 1 |
298 | | - { |
299 | | - write !, " System Monitor started" |
300 | | - } |
301 | | - elseif sc = -1 |
302 | | - { |
303 | | - write !, " System Monitor already running!" |
304 | | - } |
305 | | - else |
306 | | - { |
307 | | - write !,"ERROR: "_$ZE |
308 | | - return sc |
309 | | - } |
310 | | - return $$$OK |
| 296 | + s sc = ##class(%SYS.Monitor).Stop() |
| 297 | + s sc1 = ##class(%SYS.Monitor).Start() |
| 298 | + w !, "System Monitor has been restarted!", ! |
| 299 | + return sc1 |
311 | 300 | ]]></Implementation> |
312 | 301 | </Method> |
313 | 302 |
|
@@ -341,8 +330,6 @@ do ##class(kutac.monitor.utils.Installer).setup(.pVars)</Description> |
341 | 330 | Return:$$$ISERR(st) st |
342 | 331 | Set id = task.%Id() |
343 | 332 | Return ##class(%SYS.Task).RunNow(id) |
344 | | - |
345 | | - // Do ##class(%DeepSee.Utils).%BuildCube("CacheGitHubCICube",1,0) |
346 | 333 | ]]></Implementation> |
347 | 334 | </Method> |
348 | 335 | </Class> |
|
0 commit comments