Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
12 lines (7 sloc) 229 Bytes
from twitterdedupe.daemons import ToggleDaemon
import json
with open('/home/dotcloud/environment.json') as f:
env = json.load(f)
env['REDISTOGO_URL'] = env['DOTCLOUD_DATA_REDIS_URL']
d = ToggleDaemon(env)
d.run_forever()