#!/bin/bash # Check if project_name argument is provided if [ -z "$PROJECT_NAME" ]; then echo "Error: PROJECT_NAME is not set." exit 1 fi project_name="$PROJECT_NAME" # Create /var/www directory mkdir -p /var/www # Change group of /var/www directory to oleg20111511 chgrp oleg20111511 /var/www # Change permissions of /var/www directory to 775 chmod 775 /var/www # Create /var/www/logs/"project_name" directory # mkdir -p "/var/www/logs/$project_name" echo "Project setup complete."