tao-shen Claude Opus 4.6 commited on
Commit
a0dcc38
·
1 Parent(s): d111a78

feat: sync /var/log for system log persistence

Browse files

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

Files changed (1) hide show
  1. entrypoint.py +1 -1
entrypoint.py CHANGED
@@ -32,7 +32,7 @@ PKG_FILE = os.path.join(PERSIST_PATH, "user-packages.list")
32
  PIP_FILE = os.path.join(PERSIST_PATH, "pip-packages.txt")
33
 
34
  # Directories to sync (user data only, no system binaries)
35
- SYNC_DIRS = ["/home", "/root", "/usr/local", "/opt", "/var/lib", "/etc"]
36
 
37
  # Exclude from rsync (relative paths — rsync matches from transfer root)
38
  RSYNC_EXCLUDES = ["*.sock", "*.pid", "*.lock"]
 
32
  PIP_FILE = os.path.join(PERSIST_PATH, "pip-packages.txt")
33
 
34
  # Directories to sync (user data only, no system binaries)
35
+ SYNC_DIRS = ["/home", "/root", "/usr/local", "/opt", "/var/lib", "/var/log", "/etc"]
36
 
37
  # Exclude from rsync (relative paths — rsync matches from transfer root)
38
  RSYNC_EXCLUDES = ["*.sock", "*.pid", "*.lock"]