update
This commit is contained in:
		@@ -1,15 +1,3 @@
 | 
			
		||||
#!/usr/bin/execlineb -P
 | 
			
		||||
with-contenv
 | 
			
		||||
 | 
			
		||||
# Ensure the /share/smaf/documents directory exists
 | 
			
		||||
mkdir -p /share/smaf/documents
 | 
			
		||||
 | 
			
		||||
# Remove the existing /var/www/documents directory if it exists
 | 
			
		||||
if [ -d /var/www/documents ]; then
 | 
			
		||||
    rm -rf /var/www/documents
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
# Create a symbolic link from /var/www/documents to /share/smaf/documents
 | 
			
		||||
ln -s /share/smaf/documents /var/www/documents
 | 
			
		||||
 | 
			
		||||
/usr/sbin/apachectl -D FOREGROUND
 | 
			
		||||
		Reference in New Issue
	
	Block a user