Avoid too frequent restarts
Delete unused tasks.py
Change to use separated ini files
Use the correct log files