feat: initialize plugins on boot

This commit is contained in:
Jose Diaz-Gonzalez committed 2019-07-18 00:24:23 -04:00
1 parent 56d8346d65
commit 01f317bbf3
1 file changed
+2
@@ -6,6 +6,8 @@ exec 2>&1
echo "Running dokku-init"
cd /tmp || exit 1
dokku plugin:install
if [[ -n "$DOKKU_HOSTNAME" ]]; then
echo "dokku dokku/vhost_enable boolean true" | debconf-set-selections
dokku --quiet domains:set-global "$DOKKU_HOSTNAME"