if tools.replace_file_with_string(vinit_unit_file, code, chmod=0755):
logger.log("Initscript: %s: installed vinit.service unit file" % self.name)
# create symlink for enabling this unit
if tools.replace_file_with_string(vinit_unit_file, code, chmod=0755):
logger.log("Initscript: %s: installed vinit.service unit file" % self.name)
# create symlink for enabling this unit