update ubuntu 16.04 script

This commit is contained in:
Adam Cooke
2017-05-18 12:24:16 +01:00
parent 2a5d8034ae
commit 525fd8cc05
+3 -2
View File
@@ -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