Changed template generation to run haproxy restart