sintonia/python_apps/show-recorder/airtime-show-recorder-start
martin 4eb8a7f394 CC-2325: no audio after running airtime-pypo-stop/start
-seems to work after re-enabling multilog.
2011-05-27 15:51:09 -04:00

17 lines
356 B
Python
Executable file

#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import sys
if os.geteuid() != 0:
print "Please run this as root."
sys.exit(1)
try:
print "Starting daemontool script recorder"
os.system("svc -u /etc/service/recorder")
os.system("svc -u /etc/service/recorder/log")
except Exception, e:
print "exception:" + str(e)