Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# iobserve-prototype
This tool is only a mockup of the real analysis service of iobserve.
However, it evaluates the daemon part of such service.
The service reads all data from its resource file in
`src/main/resources/exampl-model.json`.
## Prerequisites
To use this mockup, you need the following installed on your system:
- jsvc https://commons.apache.org/proper/commons-daemon/index.html
- gradle
In Ubuntu this can be done:
`sudo apt install jsvc libcommons-daemon-java`
`sudo apt install gradle`
In Eclipse you can install Gradle support via the Markelplace. Choose
Gradle STS.
## Build
gradle build jar
## Setup
- Copy `iobserve-service.sh.template` to `iobserve-service.sh`
- Adapt the parameters in `iobserve-service.sh`
## Running
On Unices run the script with:
`sudo ./iobserve-service.sh start`
You may stop the service with:
`sudo ./iobserve-service.sh stop`