Last active
February 3, 2026 20:25
-
-
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/5affafdd671df7c74d528d88550c5a0cbdaeb268
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // summary : counters web service launcher script | |
| // keywords : counters, webservice, launcher | |
| // publish : gist | |
| // authors : David Crosson | |
| // license : Apache License Version 2.0 (https://www.apache.org/licenses/LICENSE-2.0.txt) | |
| // 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