properly template min and max heap in sysv init script