box-setup must be run before nginx

nginx configs are in the data volume which get mounted only after
box-setup script.

part of #8
This commit is contained in:
Girish Ramakrishnan
2016-08-19 19:37:32 -07:00
parent bbbc3837b0
commit ba4bb1fd90
+1 -1
View File
@@ -241,7 +241,7 @@ echo "==== Install box-setup systemd script ===="
cat > /etc/systemd/system/box-setup.service <<EOF
[Unit]
Description=Box Setup
Before=docker.service collectd.service mysql.service sshd.service
Before=docker.service collectd.service mysql.service sshd.service nginx.service
After=cloud-init.service
[Service]