Skip to content

Commit 7d73190

Browse files
committedOct 29, 2019
clarification
1 parent d9efaf3 commit 7d73190

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎README.MD

+3-3
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ Check Java version to see if installation was successfull: `java -version`
2020
`adduser <username>`
2121
`usermod -a -G sudo <username>`
2222

23-
In the new user directory create a new directory called root. This is where the application jar will be added.
23+
In the new user directory create a new directory called `root`. This is where the application jar will be added.
2424

25-
## Create an service to start the application
25+
## Create a service to start the application
2626

2727
In `/etc/systemd/system/` create a `<myservice>.service` file and add the following.
2828

@@ -71,7 +71,7 @@ After creating the file run the following command `ln -s /etc/nginx/sites-availa
7171
Now run `systemctl restart nginx` to restart nginx for the above to take affect.
7272

7373
## Deploy
74-
Build the spring boot jar file and upload it to: `/home/<username>/root/`
74+
Build the spring boot jar file, name it `app.jar` and upload it to: `/home/<username>/root/`
7575

7676
Start the service we created to run the app by running: `systemctl start <myservice>`
7777

0 commit comments

Comments
 (0)
Please sign in to comment.