baal icon indicating copy to clipboard operation
baal copied to clipboard

No such process when stoping for the second time

Open rbudiharso opened this issue 9 years ago • 3 comments

the first time I run sudo service $CMD start and sudo service $CMD stop works fine, the second time I start the service also fine, but the second time I stop the service I got No such process error. This happens because the content of the pid file is different from the actual pid of the running process. I'm lost on how the content of the pid file is different. This can also reproduced by running sudo service $CMD restart multiple times.

rbudiharso avatar Apr 21 '15 08:04 rbudiharso

Was this fixed by your pull request?

bevacqua avatar Apr 21 '15 12:04 bevacqua

Unfortunately no, I've be fiddling with it for some time but to no avail :( On 21 Apr 2015 19:14, "Nicolas Bevacqua" [email protected] wrote:

Was this fixed by your pull request?

— Reply to this email directly or view it on GitHub https://github.com/bevacqua/baal/issues/1#issuecomment-94770063.

rbudiharso avatar Apr 21 '15 12:04 rbudiharso

(this is a minor bug since you'd rarely want to actually stop the service)

bevacqua avatar May 03 '15 16:05 bevacqua