Skip to content

Commit

Permalink
Merge pull request #201 from magenx/dev
Browse files Browse the repository at this point in the history
Update cache cleaner script - cacheflush
  • Loading branch information
magenx authored May 11, 2023
2 parents 2538222 + 81d9663 commit 204b845
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion magenx.install.latest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1692,7 +1692,7 @@ tee /usr/local/bin/cacheflush <<END
#!/bin/bash
sudo -u \${SUDO_USER} n98-magerun2 --root-dir=/home/\${SUDO_USER}/public_html cache:flush
/usr/bin/systemctl restart php${PHP_VERSION}-fpm.service
/usr/bin/systemctl restart nginx.service
nginx -t && /usr/bin/systemctl restart nginx.service || echo "[!] Error: check nginx config"
END

echo ""
Expand Down

0 comments on commit 204b845

Please sign in to comment.