Skip to content

Commit e334aec

Browse files
authored
[Bug] Removed initial cache clear on startup (alexjustesen#1093)
1 parent 4b5def7 commit e334aec

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

docker/deploy/etc/s6-overlay/scripts/laravel-automations

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,6 @@ chown -R webuser:webgroup $WEBUSER_HOME/storage
1616
echo "✅ Permissions fixed."
1717
echo ""
1818

19-
# Build cache
20-
echo "🧹 Clearing any previous caches..."
21-
s6-setuidgid webuser php $WEBUSER_HOME/artisan optimize:clear --no-ansi -q
22-
echo "✅ Cache cleared."
23-
echo ""
24-
2519
if [ ${DB_CONNECTION:="sqlite"} = "sqlite" ]; then
2620
# create symlinks
2721
echo "🔗 Creating database symlink..."
@@ -89,7 +83,7 @@ fi
8983

9084
echo ""
9185

92-
# Build cache
86+
# Refresh cache
9387
echo "💰 Building the cache..."
9488
s6-setuidgid webuser php $WEBUSER_HOME/artisan view:clear --no-ansi -q
9589
s6-setuidgid webuser php $WEBUSER_HOME/artisan optimize --no-ansi -q

0 commit comments

Comments
 (0)