Skip to content
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.

Commit

Permalink
enh(packaging): rebuild symfony cache after centreon install/upgrade (#…
Browse files Browse the repository at this point in the history
…11323)

Refs: MON-11323
  • Loading branch information
kduret authored Jul 19, 2022
1 parent 5daa1bc commit 651311e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ci/debian/centreon-web.postinst
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,10 @@ if [ "$1" = "configure" ] ; then
fi

fi

# rebuild symfony cache on upgrade
if [ -n "$2" ]; then
su - www-data -s /bin/bash -c "/usr/share/centreon/bin/console cache:clear --no-warmup"
fi

exit 0

0 comments on commit 651311e

Please sign in to comment.