mirror of
https://github.com/caiwx86/small-packages.git
synced 2026-10-30 02:35:13 +08:00
update 2026-09-28 00:14:44
This commit is contained in:
1 parent
d1352f3b3d
commit
f601b769ca
73 files changed
+9
-21786
No files matched your search
@@ -1701,6 +1701,9 @@ start() {
|
||||
}
|
||||
fi
|
||||
|
||||
[ "$1" = "boot" ] && {
|
||||
rm -f "${LOCK_PATH}/${CONFIG}_cron.lock"
|
||||
}
|
||||
start_crontab
|
||||
echolog "运行完成!\n"
|
||||
|
||||
@@ -1763,6 +1766,12 @@ stop() {
|
||||
rm -f ${LOCK_PATH}/${CONFIG}_socks_auto_switch*
|
||||
rm -f ${LOCK_PATH}/${CONFIG}_lease2hosts*
|
||||
rm -f ${LOCK_PATH}/${CONFIG}_monitor*
|
||||
if ! busybox pgrep -af "${CONFIG}/" | grep -q '/subscribe\.lua'; then
|
||||
rm -f "${LOCK_PATH}/${CONFIG}_subscribe.lock"
|
||||
fi
|
||||
if ! busybox pgrep -af "${CONFIG}/" | grep -q '/rule_update\.lua'; then
|
||||
rm -f "${LOCK_PATH}/${CONFIG}_rule_update.lock"
|
||||
fi
|
||||
echolog "清空并关闭相关程序和缓存完成。"
|
||||
exit 0
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user