MT#8125 template.services: do not restart if not mgmt role is detected

Change-Id: I1aa60e8c9992136faba136448f2a66d52b49e0ac
MT#9425 init: set umask and perms on HOMERUN. Set perms on /tmp/csc

Change-Id: I790eeb9d98846399bc6bc524fa65d41d5133bb7c