Skip to content

Commit

Permalink
Add php module post-start hook example to docs, fixes #1117
Browse files Browse the repository at this point in the history
  • Loading branch information
rfay committed Sep 20, 2018
1 parent 02111c5 commit f6a6298
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docs/users/extending-commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,3 +129,12 @@ hooks:
post-start:
- exec: "composer install -d /var/www/html/"
```

## Adding Additional PHP Modules Example

```
hooks:
post-start:
# Install php modules and then tell php-fpm to reload
- exec: bash -c "sudo apt-get update && sudo apt-get install -y php7.1-ldap php7.1-tidy && killall -HUP php-fpm"
```

0 comments on commit f6a6298

Please sign in to comment.