Skip to content

Commit

Permalink
Add removal_action to remove settings.ddev.redis.php on add-on removal (
Browse files Browse the repository at this point in the history
  • Loading branch information
rfay authored Jul 20, 2023
1 parent a4f50ec commit e4aaccd
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,9 @@ post_install_actions:
#ddev-nodisplay
#ddev-description:Install redis settings for Drupal 9+ if applicable
redis/scripts/setup-drupal-settings.sh
removal_actions:
- |
#ddev-nodisplay
#ddev-description:Remove redis settings for Drupal 9+ if applicable
rm -f "${DDEV_APPROOT}/${DDEV_DOCROOT}/sites/default/settings.ddev.redis.php"

0 comments on commit e4aaccd

Please sign in to comment.