mirror of
				https://src.koozali.org/infra/smeserver-koji.git
				synced 2025-11-03 15:51:27 +01:00 
			
		
		
		
	set build as separate server
This commit is contained in:
		@@ -258,8 +258,8 @@ chown -R "$HTTPD_USER":"$HTTPD_USER" "$KOJI_DIR"
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
# twealk SELinux to allow $HTTPD_USER write access
 | 
					# twealk SELinux to allow $HTTPD_USER write access
 | 
				
			||||||
setsebool -P allow_httpd_anon_write=1
 | 
					setsebool -P allow_httpd_anon_write=1
 | 
				
			||||||
semanage fcontext -a -t public_content_rw_t "/mnt/koji(/.*)?"
 | 
					semanage fcontext -a -t public_content_rw_t "$KOJI_DIR(/.*)?"
 | 
				
			||||||
restorecon -r -v /mnt/koji
 | 
					restorecon -r -v $KOJI_DIR
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## Apache Configuration Files
 | 
					## Apache Configuration Files
 | 
				
			||||||
mkdir -p /etc/httpd/conf.d
 | 
					mkdir -p /etc/httpd/conf.d
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -6,7 +6,7 @@
 | 
				
			|||||||
export KOJI_DIR=/srv/koji
 | 
					export KOJI_DIR=/srv/koji
 | 
				
			||||||
export KOJI_MOUNT_DIR=/mnt/koji
 | 
					export KOJI_MOUNT_DIR=/mnt/koji
 | 
				
			||||||
export KOJI_MASTER_FQDN="$(hostname -f)"
 | 
					export KOJI_MASTER_FQDN="$(hostname -f)"
 | 
				
			||||||
export KOJI_SLAVE_FQDN="$KOJI_MASTER_FQDN"
 | 
					export KOJI_SLAVE_FQDN="kojibuild1.koozali.org"
 | 
				
			||||||
export KOJI_URL=http://"$KOJI_MASTER_FQDN"
 | 
					export KOJI_URL=http://"$KOJI_MASTER_FQDN"
 | 
				
			||||||
export KOJID_CAPACITY=16
 | 
					export KOJID_CAPACITY=16
 | 
				
			||||||
export TAG_NAME=sme
 | 
					export TAG_NAME=sme
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user