summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--dokku.install3
1 files changed, 2 insertions, 1 deletions
diff --git a/dokku.install b/dokku.install
index 28ccdf61d457..f29898624fbe 100644
--- a/dokku.install
+++ b/dokku.install
@@ -43,6 +43,7 @@ post_install() {
echo "Ensure proper sshcommand path"
echo '/usr/bin/dokku' > "${DOKKU_ROOT}/.sshcommand"
mkdir -p ${DOKKU_ROOT}/.ssh
+ touch ${DOKKU_ROOT}/.ssh/authorized_keys
if [[ -f .ssh/authorized_keys ]]; then
sed -i.bak 's#/usr/local/bin/dokku#/usr/bin/dokku#' "${DOKKU_ROOT}/.ssh/authorized_keys"
rm "${DOKKU_ROOT}/.ssh/authorized_keys"
@@ -53,7 +54,7 @@ post_install() {
rm -f ${DOKKU_ROOT}/VERSION
cp ${DOKKU_LIB_ROOT}/STABLE_VERSION ${DOKKU_ROOT}/VERSION
-
+
hostname -f > "${DOKKU_ROOT}/HOSTNAME"
mkdir -p /etc/nginx/conf.d