diff --git a/Installation.md b/Installation.md index cde061a..009b9d6 100644 --- a/Installation.md +++ b/Installation.md @@ -6,7 +6,7 @@ On linux systems, place the jar file in a directory such as /var/lib/chatto or / Place the below application.properties config file in the same directory - -```properties +``` properties chatto.datasource.username=chatto_user chatto.datasource.password=test chatto.datasource.database-name=chatto_db @@ -74,7 +74,6 @@ server { Place the file in ```bash /etc/nginx/sites-available/ - ``` (depending on your linux distro this may differ). @@ -82,7 +81,6 @@ Now make a symlink - ```bash sudo ln -s /etc/nginx/sites-available/chatto /nginx/sites-enabled - ``` verify configration - @@ -96,12 +94,12 @@ sudo systemctl restart nginx Now create a linux user - ```bash -sudo useradd -r -s /bin/false +sudo useradd -r -s /bin/false chatto ``` Next create a systemd script making use of the created user- -``` +```systemd [Unit] Description=System Daemon for Chatto @@ -123,7 +121,6 @@ Name the file chatto.service and place it in ``` /etc/systemd/systemd - ``` Reload systemd daemon - @@ -147,5 +144,4 @@ and if it fails to start do ``` sudo journalctl -u chatto ``` -to check the cause of the failure. -If everything went well then the app should start. +to check the cause of the failure. \ No newline at end of file