Run the competition API as a service
Move the PID path into a variable