File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed
script/frameworks/magento Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -35,8 +35,12 @@ if [ "$1" = "fast" ]; then
35
35
36
36
else
37
37
38
- sudo chmod ugo=rwx " ${MAGENTO_DIR} var/cache" -R
39
- sudo chmod ugo=rwx " ${MAGENTO_DIR} pub/static/_cache" -R
38
+ sudo chmod ugo=rwx " ${MAGENTO_DIR} var/cache" -R
39
+ sudo chmod ugo=rwx " ${MAGENTO_DIR} pub/static/_cache" -R
40
+
41
+ fxTitle " ⚙️ Stopping services..."
42
+ sudo nginx -t && sudo service nginx stop
43
+ sudo service ${PHP_FPM} restart
40
44
fi
41
45
42
46
177
181
178
182
if [ -z " ${FAST_CACHE_CLEAR} " ] && [ " ${APP_ENV} " != " dev" ]; then
179
183
184
+ fxTitle " ⚙️ Restarting services..."
185
+ sudo service ${PHP_FPM} restart
186
+ sudo nginx -t && sudo service nginx start
187
+
180
188
wsuMage maintenance:disable
181
189
182
190
systemctl --all --type service | grep -q " varnish"
You can’t perform that action at this time.
0 commit comments