// summary : spy web service launcher script // keywords : spy, webservice, launcher // publish : gist // authors : David Crosson // license : Apache NON-AI License Version 2.0 (https://raw.githubusercontent.com/non-ai-licenses/non-ai-licenses/main/NON-AI-APACHE2) // id : aeb884e5-0f5d-4229-9c61-66f09dea4b0e // created-on : 2021-03-03T12:51:43Z // managed-by : https://github.com/dacr/code-examples-manager // execution : scala ammonite script (http://ammonite.io/) - run as follow 'amm scriptname.sc' import $ivy.`fr.janalyse::spy:1.0.4` val service = spy.Main.start() service.waitSystemTerminate() // Just to avoid automatic exit in ammonite script mode