Revision 987d6ae9
Added by David Davis about 10 years ago
deploy/script/katello-refresh-cdn | ||
---|---|---|
# script for refreshing the newest content from CDN. It doesn't synchronize the
|
||
# repositories but lets Katello know there is new content available.
|
||
|
||
# running the script from rails root
|
||
RAILS_DIR=/usr/share/katello
|
||
pushd $RAILS_DIR &> /dev/null
|
||
foreman-rake katello:refresh_cdn RAILS_ENV=production >/dev/null
|
||
|
||
/usr/bin/env rake katello:refresh_cdn RAILS_ENV=production >/dev/null
|
||
|
||
popd &> /dev/null
|
deploy/script/katello-remove-orphans | ||
---|---|---|
#!/bin/env bash
|
||
# Script for intiating removal of orphaned content
|
||
#
|
||
# running the script from rails root
|
||
RAILS_DIR=/usr/share/katello
|
||
pushd $RAILS_DIR &> /dev/null
|
||
|
||
/usr/bin/env rake katello:delete_orphaned_content RAILS_ENV=production >/dev/null
|
||
|
||
popd &> /dev/null
|
||
foreman-rake katello:delete_orphaned_content RAILS_ENV=production >/dev/null
|
Also available in: Unified diff
Fixes #4690 - Updating directory in katello deployed scripts