mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2025-02-24 13:30:02 +08:00
Kill server process
This commit is contained in:
parent
398b68fd5b
commit
aafcc633c2
@ -226,7 +226,7 @@ if [[ "${DHCP}" == [Yy1]* ]]; then
|
|||||||
# Configuration for DHCP IP
|
# Configuration for DHCP IP
|
||||||
configureDHCP
|
configureDHCP
|
||||||
|
|
||||||
pkill -f server.sh || true
|
{ pkill -f server.sh || true } 2>/dev/null
|
||||||
|
|
||||||
SH_SCRIPT="/run/ipinfo.sh"
|
SH_SCRIPT="/run/ipinfo.sh"
|
||||||
|
|
||||||
@ -244,8 +244,8 @@ if [[ "${DHCP}" == [Yy1]* ]]; then
|
|||||||
|
|
||||||
chmod +x "$SH_SCRIPT"
|
chmod +x "$SH_SCRIPT"
|
||||||
|
|
||||||
/run/server.sh 80 "$SH_SCRIPT" > /dev/null &
|
/run/server.sh 80 "$SH_SCRIPT" &
|
||||||
/run/server.sh 5000 "$SH_SCRIPT" > /dev/null &
|
/run/server.sh 5000 "$SH_SCRIPT" &
|
||||||
|
|
||||||
else
|
else
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user