Do not use sudo when not necessary

This allows the script to not use sudo when not-necessary (ie: when the running user is the same than the user for the script)

This is because start-stop-daemon uses sudo when --chuid option is passed (but it's not necessary if the user is the same)