From 6f823cb0160216d7a5a3e8fec4985528ed1a6018 Mon Sep 17 00:00:00 2001 From: b3yond Date: Sat, 13 Jul 2019 09:04:05 +0200 Subject: [PATCH] fixed uwsgi deployment instructions --- README.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 60554d0..01493fe 100644 --- a/README.md +++ b/README.md @@ -152,10 +152,19 @@ echo "Enter your domain name into the following prompt:" && read DOMAIN # configure nginx sudo sed -r "s/example.org/$DOMAIN/g" deployment/example.org.conf > /etc/nginx/sites-enabled/$DOMAIN.conf -# create folder for socket & database +# create folder for database sudo mkdir /var/ticketfrei sudo chown www-data:www-data -R /var/ticketfrei +# create folder for socket +sudo mkdir /var/run/ticketfrei +sudo chown -R www-data:www-data /var/run/ticketfrei +sudo -s +echo "mkdir /var/run/ticketfrei" >> /etc/rc.local +echo "chown -R www-data:www-data /var/run/ticketfrei" >> /etc/rc.local +echo "service ticketfrei-web restart" >> /etc/rc.local +exit + # change /etc/aliases permissions to be able to receive reports per mail sudo chown root:www-data /etc/aliases sudo chmod 664 /etc/aliases