Commit 2df8cce
committed
Fix missing service stops in unstack.sh
Several services started by stack.sh were not properly stopped in
unstack.sh, which could leave processes running and prevent clean
restacking:
- tcpdump: lib/tcpdump was not sourced, so stop_tcpdump was unavailable.
Added source and stop call when tcpdump service is enabled.
- s-container-sync: Swift's container-sync daemon was started via
run_process but not explicitly stopped. Added stop_process call in
stop_swift function.
- ldap: The stop_ldap function existed but was never called. Added
stop call in UNSTACK_ALL section, consistent with mysql/rabbit
handling.
These fixes ensure all services started by stack.sh are properly
stopped by unstack.sh, allowing clean restacking.
Generated-By: Cursor claude-opus-4.5
Change-Id: I8bcc6fe82264bb35a616dae39f4216ba6200b547
Signed-off-by: Sean Mooney <work@seanmooney.info>1 parent efb34ca commit 2df8cce
2 files changed
+12
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
838 | 838 | | |
839 | 839 | | |
840 | 840 | | |
| 841 | + | |
| 842 | + | |
841 | 843 | | |
842 | 844 | | |
843 | 845 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| 76 | + | |
76 | 77 | | |
77 | 78 | | |
78 | 79 | | |
| |||
162 | 163 | | |
163 | 164 | | |
164 | 165 | | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
165 | 171 | | |
166 | 172 | | |
167 | 173 | | |
| |||
178 | 184 | | |
179 | 185 | | |
180 | 186 | | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
181 | 191 | | |
182 | 192 | | |
183 | 193 | | |
| |||
0 commit comments