Files
reddit/srv/servicemonitor/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

6 lines
199 B
Bash
Executable File

#!/bin/sh
cd ~reddit/reddit/r2
exec 2>&1
exec /usr/local/bin/paster run run.ini -c "import supervise_watcher; supervise_watcher.Run(['reddit', 'cassandra'], srv_params=dict(exe='/usr/bin/svstat'))"