Improves the order
This commit is contained in:
parent
bf3a93e698
commit
9208c0a00e
1 changed files with 4 additions and 4 deletions
|
@ -5,16 +5,16 @@ if [ -f /tmp/vagrantfile-user-data ]; then
|
|||
mv /tmp/vagrantfile-user-data /var/lib/coreos-vagrant/vagrantfile-user-data
|
||||
fi
|
||||
|
||||
# Install unit-files
|
||||
cp /data/indiehosters/unit-files/* /etc/systemd/system
|
||||
systemctl daemon-reload
|
||||
|
||||
# Pull relevant docker images
|
||||
docker pull indiehosters/haproxy
|
||||
docker pull indiehosters/confd
|
||||
docker pull indiehosters/postfix-forwarder
|
||||
docker pull indiehosters/nginx
|
||||
|
||||
# Install unit-files
|
||||
cp /data/indiehosters/unit-files/* /etc/systemd/system
|
||||
systemctl daemon-reload
|
||||
|
||||
# Activate default domain
|
||||
sh /data/indiehosters/scripts/activate-user.sh $1 nginx
|
||||
etcdctl set /services/default '{"app":"nginx", "hostname":"'$1'"}'
|
||||
|
|
Loading…
Reference in a new issue