mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 06:53:15 +00:00
PHRAS-3144 add plugin post install clean cache (#4238)
* PHRAS-3144 add plugin post install script on worker image * PHRAS-3144 add plugin post install clean cache
This commit is contained in:
@@ -21,6 +21,20 @@ if [ ${XDEBUG_ENABLED} == "1" ]; then
|
||||
fi
|
||||
|
||||
./docker/phraseanet/plugins/console init
|
||||
rm -Rf cache/*
|
||||
|
||||
|
||||
chown -R app:app \
|
||||
cache \
|
||||
config \
|
||||
tmp \
|
||||
logs \
|
||||
www
|
||||
|
||||
|
||||
if [ -d "plugins/" ];then
|
||||
chown -R app:app plugins;
|
||||
fi
|
||||
|
||||
if [ -f /etc/ImageMagick-$IMAGEMAGICK_POLICY_VERSION/policy.xml ]; then
|
||||
if [ ! -d $IMAGEMAGICK_POLICY_TEMPORARY_PATH ]; then
|
||||
|
Reference in New Issue
Block a user