use single pkill command instead of kill and pgrep

Scott Edlund committed 2024-07-19 13:52:01 +02:00
1 parent 277c843b5c
commit 9ac690d3ef
1 file changed
+1 -1
+1 -1
@@ -65,4 +65,4 @@ The balancing plan will try to evenly spread the number of writable and readonly
Run `weed shell` and `volume.mount -node <host>:<port> -volumeId <id>` to mount a volume file.
You can also execute locally on volume server `kill -s HUP $(pgrep -f "weed volume")` to mount for all new volume files.
You can also execute locally on volume server `pkill -HUP -f "weed volume"` to mount all new volume files.