not working as intended fix?

This commit is contained in:
Benjamyn Love 2019-02-20 22:44:32 +11:00
parent c9f0fb8338
commit fc6c867cd9

View File

@ -30,13 +30,13 @@ sed -i s+ENVIRONMENT+"$ENVDIR"+g blank.service
echo "Setting up the virtualenv" echo "Setting up the virtualenv"
virtualenv env virtualenv env
$ENVDIR/bin/pip install flask gunicorn $ENVDIR/bin/pip install flask gunicorn >/dev/null
echo "Installing the service" echo "Installing the service"
cp blank.service /etc/systemd/system/paste.service cp blank.service /etc/systemd/system/paste.service
echo "Setting permissions on the files" echo "Setting permissions on the files"
chmod -R $USERNAME:$NGINXGROUP $CURRENTDIR chmod -Rv $USERNAME:$NGINXGROUP $CURRENTDIR
echo "Installing nginx config to /etc/nginx/conf.d" echo "Installing nginx config to /etc/nginx/conf.d"
cp paste.conf /etc/nginx/conf.d/paste.conf cp paste.conf /etc/nginx/conf.d/paste.conf