|
|
@ -60,7 +60,7 @@ def shutdown_bazarr(restarting):
|
|
|
|
except:
|
|
|
|
except:
|
|
|
|
logging.error("Unable to delete pid file.")
|
|
|
|
logging.error("Unable to delete pid file.")
|
|
|
|
else:
|
|
|
|
else:
|
|
|
|
logging.info('Bazarr restarting...')
|
|
|
|
logging.info('Bazarr stopping...')
|
|
|
|
if restarting is False:
|
|
|
|
if restarting is False:
|
|
|
|
stopfile = os.path.normcase(os.path.join(os.path.dirname(__file__), 'bazarr.stop'))
|
|
|
|
stopfile = os.path.normcase(os.path.join(os.path.dirname(__file__), 'bazarr.stop'))
|
|
|
|
file = open(stopfile, 'w')
|
|
|
|
file = open(stopfile, 'w')
|
|
|
|