Change sudo format for pillar fetching and service restarts for trigger

Change-Id: I11188410a5680076a5e9680c1f09a31b02650a5c