Two new hooks are implemented:
- pre-delete $APP
- post-delete $APP
The following are implemented in the `post-delete` hook:
- `$APP` directory deletion (00_dokku-standard)
- nginx reload (nginx-vhosts)
The following command can be executed by either the `dokku` or `git` user as `sudo`:
sudo /etc/init.d/nginx reload
Refs #124
Closes #186
3 lines
60 B
Bash
Executable File
3 lines
60 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
sudo /etc/init.d/nginx reload > /dev/null |