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