Use sudo only if the user starting the service differs from the user under which the service should start
Switching to useradd/groupadd from adduser/addgroup for better portability.