set build as separate server

This commit is contained in:
Trevor Batley 2023-08-30 09:31:57 +10:00
parent 488dcfd3c5
commit 59432968bc
2 changed files with 3 additions and 3 deletions

View File

@ -258,8 +258,8 @@ chown -R "$HTTPD_USER":"$HTTPD_USER" "$KOJI_DIR"
# twealk SELinux to allow $HTTPD_USER write access
setsebool -P allow_httpd_anon_write=1
semanage fcontext -a -t public_content_rw_t "/mnt/koji(/.*)?"
restorecon -r -v /mnt/koji
semanage fcontext -a -t public_content_rw_t "$KOJI_DIR(/.*)?"
restorecon -r -v $KOJI_DIR
## Apache Configuration Files
mkdir -p /etc/httpd/conf.d

View File

@ -6,7 +6,7 @@
export KOJI_DIR=/srv/koji
export KOJI_MOUNT_DIR=/mnt/koji
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 KOJID_CAPACITY=16
export TAG_NAME=sme