Enable nginx and docker on system startup when using bootstrap.sh on CentOS

This commit is contained in:
Edgars Beigarts
2017-03-15 14:52:29 +02:00
parent 621b31839e
commit 7ba063c6bb
2 changed files with 12 additions and 3 deletions

View File

@@ -167,6 +167,10 @@ install-dokku-from-rpm-package() {
yum -y install herokuish dokku
fi
echo "--> Enabling docker and nginx on system startup"
systemctl enable docker
systemctl enable nginx
echo "--> Starting nginx"
systemctl start nginx
}