File tree Expand file tree Collapse file tree 1 file changed +4
-11
lines changed
administration/installation Expand file tree Collapse file tree 1 file changed +4
-11
lines changed Original file line number Diff line number Diff line change @@ -7,17 +7,10 @@ subtitle: Running
77
88# Running
99
10- The WAR file is self-executable, so you do not need to install Tomcat or a similar
11- Java servlet server to run it. Just give the file executable permissions:
10+ The JAR file is executable and contains Tomcat in it. Just run it with ` java ` :
1211
1312``` bash
14- $ chmod +x moera-node-0.14.0.war
15- ```
16-
17- And run it:
18-
19- ``` bash
20- $ SPRING_APPLICATION_JSON={" spring.profiles.active" :" prod" } ./moera-node-0.14.0.war
13+ $ SPRING_APPLICATION_JSON={" spring.profiles.active" :" prod" } java -jar ./moera-node-0.17.0.jar
2114```
2215
2316The value of ` spring.profiles.active ` setting (that is set above through
@@ -50,7 +43,7 @@ WorkingDirectory=/srv/moera-node
5043Environment=LANG=en_US.UTF-8 \
5144 'SPRING_APPLICATION_JSON={"spring.profiles.active":"prod"}' \
5245 JAVA_OPTS="-Xmx2G -XX:+UseG1GC -XX:+UseStringDeduplication"
53- ExecStart=/srv/moera-node/moera-node-0.14 .0.war
46+ ExecStart=/usr/bin/java -jar / srv/moera-node/moera-node-0.17 .0.jar
5447SuccessExitStatus=143
5548StandardOutput=syslog
5649StandardError=inherit
@@ -61,7 +54,7 @@ WantedBy=multi-user.target
6154```
6255
6356` User= ` and ` Group= ` define the user and the group that will be used by
64- the ` moera-node ` process. Do not forget to create the user and the group in your
57+ the ` moera-node ` process. Remember to create the user and the group in your
6558system.
6659
6760The WAR file is located in ` /srv/moera-node ` directory in the example above. If
You can’t perform that action at this time.
0 commit comments