mirror of
https://github.com/mynodebtc/mynode.git
synced 2024-11-16 02:12:49 +00:00
10 lines
213 B
Bash
Executable File
10 lines
213 B
Bash
Executable File
#!/bin/bash
|
|
|
|
if [ -f ./out/file_server_pid ]; then
|
|
PID=$(cat ./out/file_server_pid)
|
|
if ps -p $PID > /dev/null; then
|
|
echo "Stopping HTTP Server ($PID)..."
|
|
kill $PID
|
|
sleep 1
|
|
fi
|
|
fi |