Persist homebrew installs

This commit is contained in:
Arjun Komath
2026-02-07 22:26:03 +11:00
parent d34c640d77
commit e8287793d8
+8
View File
@@ -2,4 +2,12 @@
set -e
chown -R openclaw:openclaw /data
if [ ! -d /data/.linuxbrew ]; then
cp -a /home/linuxbrew/.linuxbrew /data/.linuxbrew
fi
rm -rf /home/linuxbrew/.linuxbrew
ln -sfn /data/.linuxbrew /home/linuxbrew/.linuxbrew
exec gosu openclaw node src/server.js