k2hr3-api 1.0.21 → 1.0.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ChangeLog +6 -0
- package/bin/run.sh +1 -1
- package/package.json +1 -1
package/ChangeLog
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
k2hr3-api (1.0.22) unstable; urgency=low
|
|
2
|
+
|
|
3
|
+
* Fixed a bug about stopping processes in run.sh - #94
|
|
4
|
+
|
|
5
|
+
-- Takeshi Nakatani <ggtakec@gmail.com> Thu, 01 Jun 2023 15:37:41 +0900
|
|
6
|
+
|
|
1
7
|
k2hr3-api (1.0.21) unstable; urgency=low
|
|
2
8
|
|
|
3
9
|
* Changed partially scripts(command) in package.json - #92
|
package/bin/run.sh
CHANGED
|
@@ -98,7 +98,7 @@ stop_old_process()
|
|
|
98
98
|
#
|
|
99
99
|
# Try to stop(HUP) process and child processes
|
|
100
100
|
#
|
|
101
|
-
OLD_CIHLD_PIDS="$(pgrep -P "${
|
|
101
|
+
OLD_CIHLD_PIDS="$(pgrep -P "${OLD_PID}" | tr '\n' ' ')"
|
|
102
102
|
if ! /bin/sh -c "kill -HUP ${OLD_PID} ${OLD_CIHLD_PIDS}" >/dev/null 2>&1; then
|
|
103
103
|
echo "[WARNING] Failed to stop some old processes."
|
|
104
104
|
fi
|