mirror of
https://src.koozali.org/infra/smeserver-koji.git
synced 2024-11-24 18:47:28 +01:00
set build as separate server
This commit is contained in:
parent
488dcfd3c5
commit
59432968bc
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user