Quote values in supervisor configs

This commit is contained in:
Girish Ramakrishnan
2014-10-20 18:20:46 -07:00
parent 9da9312086
commit 772cefbfc6
+2 -2
View File
@@ -87,7 +87,7 @@ cp $SRCDIR/supervisor/supervisord.conf /etc/supervisor/
echo "Writing box supervisor config..."
cat > /etc/supervisor/conf.d/nginx.conf <<EOF
[program:nginx]
command=nginx -c $DATA_DIR/nginx/nginx.conf -p /var/log/nginx/
command=nginx -c "$DATA_DIR/nginx/nginx.conf" -p /var/log/nginx/
autostart=true
autorestart=true
redirect_stderr=true
@@ -103,7 +103,7 @@ autorestart=true
redirect_stderr=true
directory=$SRCDIR
user=yellowtent
environment=HOME="/home/yellowtent",CLOUDRON=1,USER="yellowtent",DEBUG="box*",APP_SERVER_URL=$APP_SERVER_URL
environment=HOME="/home/yellowtent",CLOUDRON="1",USER="yellowtent",DEBUG="box*",APP_SERVER_URL="$APP_SERVER_URL"
EOF
echo "Done"