From 525fd8cc05fe2c866e0e4143a6a8273acd449382 Mon Sep 17 00:00:00 2001 From: Adam Cooke Date: Thu, 18 May 2017 12:24:05 +0100 Subject: [PATCH] update ubuntu 16.04 script --- script/install/ubuntu1604.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/script/install/ubuntu1604.sh b/script/install/ubuntu1604.sh index a7d9f58..2b70deb 100644 --- a/script/install/ubuntu1604.sh +++ b/script/install/ubuntu1604.sh @@ -54,9 +54,10 @@ setcap 'cap_net_bind_service=+ep' /usr/bin/ruby2.3 # # Application Setup # -sudo -i -u postal git clone https://github.com/atech/postal /opt/postal/app +sudo -i -u postal mkdir -p /opt/postal/app +wget https://postal.atech.media/packages/stable/latest.tgz -O - | sudo -u postal tar zxpv -C /opt/postal/app ln -s /opt/postal/app/bin/postal /usr/bin/postal -postal bundle /opt/postal/app/vendor/bundle +postal bundle /opt/postal/vendor/bundle postal initialize-config postal initialize postal start