Pass service type (echo or file) as a command line argument.