adding template reload on SIGHUP