refactor: improve error handling and code readability in podkop.js and update init.d script to check sing-box status
This commit is contained in:
@@ -1828,7 +1828,7 @@ get_status() {
|
||||
fi
|
||||
|
||||
# Check if service is running
|
||||
if pgrep -f "podkop" >/dev/null; then
|
||||
if pgrep -f "sing-box" >/dev/null; then
|
||||
running=1
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user