vdomos / domogik-plugin-script

Script plugin is used to run Linux scripts with Domogik
2 stars 0 forks source link

scirpt don't stop when restarting domogik #4

Open tikismoke opened 8 years ago

tikismoke commented 8 years ago

When executing a "service domogik restart" , one of the 2 process don't stop.

That's explain the dead status on script plugin on my installation.

vdomos commented 8 years ago

Have you the develop version installed. I change a "time.sleep" by the "stop.wait(interval)" fonction to stop scheduled script.

Another possibility, I don't use the restart command to restart Domogik because, all programs are not stopped when the "domogik "stop" is finished and the "domogik start" is launched while processes are still running. You can test after a long period of use to run "domogik stop" and when the command return the prompt, you can check that there are a lot of Domogik process still running; I think it's the the Open File of admin GUI

2016-02-14 19:20 GMT+01:00 tikismoke notifications@github.com:

When executing a "service domogik restart" , one of the 2 process don't stop.

That's explain the dead status on script plugin on my installation.

— Reply to this email directly or view it on GitHub https://github.com/vdomos/domogik-plugin-script/issues/4.

fritz-smh commented 8 years ago

about : "Another possibility, I don't use the restart command to restart Domogik because, all programs are not stopped when the "domogik "stop" is finished and the "domogik start" is launched while processes are still running."

Could you create a ticket for domogik ? With the detail of the remaining components ?

On Sun, Feb 14, 2016 at 11:18 PM, vdomos notifications@github.com wrote:

Have you the develop version installed. I change a "time.sleep" by the "stop.wait(interval)" fonction to stop scheduled script.

Another possibility, I don't use the restart command to restart Domogik because, all programs are not stopped when the "domogik "stop" is finished and the "domogik start" is launched while processes are still running. You can test after a long period of use to run "domogik stop" and when the command return the prompt, you can check that there are a lot of Domogik process still running; I think it's the the Open File of admin GUI

2016-02-14 19:20 GMT+01:00 tikismoke notifications@github.com:

When executing a "service domogik restart" , one of the 2 process don't stop.

That's explain the dead status on script plugin on my installation.

— Reply to this email directly or view it on GitHub https://github.com/vdomos/domogik-plugin-script/issues/4.

— Reply to this email directly or view it on GitHub https://github.com/vdomos/domogik-plugin-script/issues/4#issuecomment-183991425 .