Skip to content

Commit

Permalink
fix(nginx): restart nginx on instance uninstall
Browse files Browse the repository at this point in the history
no issue
- makes it so nginx picks up the fact that the instance has been removed
  • Loading branch information
acburdine committed Jul 6, 2017
1 parent 0803a3b commit 0020872
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extensions/nginx/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ class NginxExtension extends cli.Extension {
);
}

return Promise.all(promises);
return Promise.all(promises).then(() => this.restartNginx());
}

_cron(fn) {
Expand Down

0 comments on commit 0020872

Please sign in to comment.