use String.indexOf() instead of String.search()
Merge pull request #6 from MiLk/fixes/5

Detect tasks changes instead of apps changes
use one config var to specify the reload command
Generate the configuration file with a template instead of a bash script