projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb7f5a9
)
Notify.php
author
Alan Knowles
<alan@akbkhome.com>
Fri, 3 Feb 2012 04:33:28 +0000
(12:33 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Fri, 3 Feb 2012 04:33:28 +0000
(12:33 +0800)
Notify.php
patch
|
blob
|
history
diff --git
a/Notify.php
b/Notify.php
index
f8939f9
..
944138f
100644
(file)
--- a/
Notify.php
+++ b/
Notify.php
@@
-223,9
+223,12
@@
class Pman_Core_Notify extends Pman
echo "CHECK PID: " . $p['pid'] . "\n";
$info = proc_get_status($p['proc']);
//var_dump($info);
+
+ // update if necessday.
if ($info['pid']) {
$p['pid'] = $info['pid'];
}
+
if ($info['running']) {
//if (file_exists('/proc/'.$p['pid'])) {