Use redis startup script as a template. They have working user changing.