minor cleanup in template and add systemd_configure function with openmandriva-related tricks