Commit 53bcd3c
authored
winsvc: Stop the service when the supervisor is dead (#4909)
**Which issue(s) this PR fixes**:
None.
**What this PR does / why we need it**:
Even if the supervisor process is dead due to config error or etc, the
service process will continue running unexpectedly because no one
monitor it. This commit fix this issue.
**Docs Changes**:
Not needed.
**Release Note**:
Same with the title.
Signed-off-by: Takuro Ashie <ashie@clear-code.com>1 parent 1f39f41 commit 53bcd3c
1 file changed
+13
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| 51 | + | |
| 52 | + | |
51 | 53 | | |
52 | 54 | | |
53 | 55 | | |
| |||
57 | 59 | | |
58 | 60 | | |
59 | 61 | | |
60 | | - | |
61 | | - | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
62 | 72 | | |
63 | 73 | | |
64 | 74 | | |
65 | 75 | | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
| 76 | + | |
72 | 77 | | |
73 | 78 | | |
74 | 79 | | |
| |||
0 commit comments