Skip to content

Instantly share code, notes, and snippets.

@dacr
Last active April 2, 2023 10:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dacr/eb3e52e720c1f0715ddea36e93474bfb to your computer and use it in GitHub Desktop.
Save dacr/eb3e52e720c1f0715ddea36e93474bfb to your computer and use it in GitHub Desktop.
counters web service launcher script / published by https://github.com/dacr/code-examples-manager #bfee9dd3-f72d-47cb-b3e0-f5a85acb3cb3/96243a8ac3ed0b0ba5911ce6e05569f622b28228
// summary : counters web service launcher script
// keywords : counters, 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 : bfee9dd3-f72d-47cb-b3e0-f5a85acb3cb3
// 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::counters:1.0.2`
val service = counters.Main.start()
service.waitSystemTerminate() // Just to avoid automatic exit in ammonite script mode
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment