mirror of
https://github.com/itdoginfo/podkop.git
synced 2026-01-06 08:38:52 +03:00
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