Fixed everything about Airtime on Debian
* 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.
This commit is contained in:
parent
bbcd4fbe2e
commit
a2d8da617d
16 changed files with 168 additions and 16 deletions
|
@ -10,7 +10,7 @@ locale.setlocale(locale.LC_ALL, '')
|
|||
|
||||
def run():
|
||||
global_cfg = '/etc/airtime/airtime.conf'
|
||||
logging_cfg = os.path.join(os.path.dirname(__file__), 'logging.cfg')
|
||||
logging_cfg = '/etc/airtime/media_monitor_logging.cfg'
|
||||
|
||||
mm2.main( global_cfg, logging_cfg )
|
||||
|
||||
|
|
|
@ -22,7 +22,9 @@ else:
|
|||
mm2_files.append(os.path.join(root, filename))
|
||||
|
||||
data_files = [
|
||||
('/etc/init', ['install/airtime-media-monitor.conf.template']),
|
||||
('/etc/init', ['install/upstart/airtime-media-monitor.conf.template']),
|
||||
('/etc/init.d', ['install/sysvinit/airtime-media-monitor']),
|
||||
('/etc/airtime', ['install/media_monitor_logging.cfg']),
|
||||
('/var/log/airtime/media-monitor', []),
|
||||
('/var/tmp/airtime/media-monitor', []),
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue