Fixing the service not starting correctly, thanks @ojacobson