1 parent
6b42fde028
commit
3eb9c9b3ba
10 files changed
+172
No files matched your search
+14
@@ -0,0 +1,14 @@
|
||||
#!/bin/bash
|
||||
|
||||
exec >> /var/log/services/dokku-init
|
||||
exec 2>&1
|
||||
|
||||
echo "Running dokku-init"
|
||||
cd /tmp || exit 1
|
||||
|
||||
if [[ -n "$DOKKU_HOSTNAME" ]]; then
|
||||
echo "dokku dokku/vhost_enable boolean true" | debconf-set-selections
|
||||
dokku --quiet domains:set-global "$DOKKU_HOSTNAME"
|
||||
fi
|
||||
|
||||
exec dokku ps:restore
|
||||
Reference in new issue
Block a user