https://github.com/genome/genome
Revision 0dd686bc3f19badb6d34130fff4f6f62de04d5c9 authored by Eddie Belter on 16 January 2015, 19:08:51 UTC, committed by Eddie Belter on 16 January 2015, 19:08:51 UTC
Merged the TCGA importer into the basic importer. More PRs to come to smooth out the interface.
2 parent s 0a8a48b + 72297d7
Raw File
Tip revision: 0dd686bc3f19badb6d34130fff4f6f62de04d5c9 authored by Eddie Belter on 16 January 2015, 19:08:51 UTC
Merge pull request #377 from ebelter/instdata-import
Tip revision: 0dd686b
genome-search-index-queue.conf
# genome-search-index-queue
#
# This is the daemon that monitors the search index queue to add/remove
# items to our search engine.
#
# *** This is in version control.
# *** Do not make changes to this file directly.

description "genome search index queue"

start on runlevel [2345]
stop on runlevel [!2345]

respawn

env RUN_AS_USER='apipe-builder'
env LOG_DIR='/var/log/genome'
env LOG_FILE="/var/log/genome/search-index-queue.log"

umask 0755

pre-start script
    if [ ! -d "$LOG_DIR" ]; then
        mkdir -p "$LOG_DIR"
        chmod 755 "$LOG_DIR"
        chown "$RUN_AS_USER" "$LOG_DIR"
    fi
end script

script
    GENOME=$(/gsc/scripts/sbin/gsc-cron-user which genome)
    exec sudo -i -u $RUN_AS_USER /gsc/scripts/sbin/gsc-cron-user $GENOME sys search index daemon --noconfirm --noscreen --log-file-level info --log-file $LOG_FILE
end script
back to top