* Added sysvinit scripts back in and cleaned them up * service status now works correctly for all services * Moved logging config files into install/ folders for the python_apps * Fixed some small setup.py problems in the various python_apps * Gave each python app a better bin/ script which doesn't fork, which lets service status work automagically.
17 lines
345 B
Python
17 lines
345 B
Python
#!/usr/bin/python
|
|
import logging
|
|
import locale
|
|
import time
|
|
import sys
|
|
import os
|
|
import mm2.mm2 as mm2
|
|
from std_err_override import LogWriter
|
|
locale.setlocale(locale.LC_ALL, '')
|
|
|
|
def run():
|
|
global_cfg = '/etc/airtime/airtime.conf'
|
|
logging_cfg = '/etc/airtime/media_monitor_logging.cfg'
|
|
|
|
mm2.main( global_cfg, logging_cfg )
|
|
|
|
run()
|