Files
reddit/srv/scraper_q/run
Jeremy Edberg 253c4730f9 * Add services and scripts to public repos for ease of reddit installation
* bring discount up to date
 * fix consistency errors in the self-serve traffic page
2010-05-18 16:43:06 -07:00

12 lines
296 B
Bash
Executable File

#!/bin/sh
#
# This is the app that reads new links as they come in and checks to
# see if they have scrapable content (images to thumbnail and/or
# media).
export HOME=/home/reddit
cd $HOME/reddit/r2
exec 2>&1
exec setuidgid reddit /usr/local/bin/paster run run.ini r2/lib/media.py -c "run()"