cc-4359: Fixed without breaking anything else. Reverted bootrsrapping to default operation except for media monitor restart which uses a

special bootstrap that respects file_exists settings.
This commit is contained in:
Rudi Grinberg 2012-09-11 11:19:44 -04:00
parent 41d9b2490a
commit 458089a773
2 changed files with 7 additions and 4 deletions

View file

@ -113,7 +113,7 @@ def main(global_config, api_client_config, log_config,
log.error("Could not create watch directory: '%s' \
(given from the database)." % watch_dir)
if os.path.exists(watch_dir):
airtime_receiver.new_watch({ 'directory':watch_dir })
airtime_receiver.new_watch({ 'directory':watch_dir }, restart=True)
bs = Bootstrapper( db=sdb, watch_signal='watch' )