Release v117 with persistent logs and WAN tunnel recovery
This commit is contained in:
1 parent
5f65a3d811
commit
b62db40daf
61 files changed
+3080
-438
No files matched your search
@@ -5,6 +5,7 @@ START=98
|
||||
STOP=11
|
||||
|
||||
start_service() {
|
||||
/bin/sh /usr/lib/owrt-remote/logs.sh migrate || logger -t owrt-remote 'WARN: старый RAM-журнал ещё не перенесён; см. свободное место Flash.'
|
||||
procd_open_instance journal
|
||||
procd_set_param command /bin/sh /usr/lib/owrt-remote/logs.sh collect
|
||||
procd_set_param respawn 3600 5 5
|
||||
@@ -18,3 +19,9 @@ start_service() {
|
||||
procd_set_param respawn 3600 5 5
|
||||
procd_close_instance
|
||||
}
|
||||
|
||||
stop_service() {
|
||||
# Flush a last bounded batch on ordinary stop/shutdown. Sudden power loss can
|
||||
# lose only the current RAM write buffer; committed immutable chunks survive.
|
||||
/bin/sh /usr/lib/owrt-remote/logs.sh flush force >/dev/null 2>&1 || true
|
||||
}
|
||||
Reference in new issue
Block a user