Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
7 lines (5 sloc) 109 Bytes
import daemon
from cos.server import Worker
worker = Worker()
with daemon.DaemonContext():
worker.run()