Move dokku-installer start to postinst

Performing the start in preinst meant that the required dokku-installer.rb file was not yet in position.
This commit is contained in:
Jose Diaz-Gonzalez
2015-01-12 01:54:14 -05:00
parent 87b7a74cf0
commit 4656e80ab8
2 changed files with 4 additions and 3 deletions

4
debian/postinst vendored
View File

@@ -13,6 +13,10 @@ case "$1" in
egrep -i "^docker" /etc/group || groupadd docker
usermod -aG docker dokku
dokku plugins-install
if [ -f /etc/init/dokku-installer.conf ] && service dokku-installer status 2> /dev/null | grep waiting; then
sudo service dokku-installer start
fi
;;
*)

3
debian/preinst vendored
View File

@@ -23,9 +23,6 @@ case "$1" in
rm -f /etc/nginx/sites-enabled/*
service nginx reload
if service dokku-installer status 2> /dev/null | grep waiting; then
sudo service dokku-installer start
fi
;;
abort-upgrade)