diff --git a/readme.md b/readme.md index de45aab..1095706 100644 --- a/readme.md +++ b/readme.md @@ -180,7 +180,7 @@ Make sure to substitute all variables for their correct values. 1. Create a service account for ModShark: `sudo useradd -s /bin/bash -d /home/modshark -m modshark` 2. Log into the service account: `sudo su - modshark` 3. Download the [latest release package](https://github.com/warriordog/ModShark/releases/latest): `wget -O ModShark-latest.zip https://github.com/warriordog/ModShark/releases/latest/download/ModShark-latest.zip` -4. Extract the release package into a directory: `mkdir ModShark && bsdtar -xvf ModShark-latest.zip -C ModShark` +4. Extract the release package into a directory: `mkdir ModShark && unzip -o ModShark-latest.zip -d ModShark` 5. Create the production config file (see the [Configuration section](#Configuration) for details): `nano ModShark/appsettings.Production.json` 6. Run the latest database migrations: `psql -U $postgres_user -W -d $sharkey_database -a -f ModShark/update-ModShark-migrations.sql` 7. Return to an admin account: `exit` @@ -195,7 +195,7 @@ Make sure to substitute all variables for their correct values. 1. Stop the ModShark service, if it's running: `sudo systemctl stop modshark` 2. Log into the ModShark service account: `sudo su - modshark` 3. Download the [latest release package](https://github.com/warriordog/ModShark/releases/latest): `wget -O ModShark-latest.zip https://github.com/warriordog/ModShark/releases/latest/download/ModShark-latest.zip` -4. Extract the release package into your installation directory, overwriting any files: `bsdtar -xvf ModShark-latest.zip -C ModShark` +4. Extract the release package into your installation directory, overwriting any files: `unzip -o ModShark-latest.zip -d ModShar` 5. Run the latest database migrations: `psql -U $postgres_user -W -d $sharkey_database -a -f ModShark/update-ModShark-migrations.sql` 6. Return to an admin account: `exit` 7. Start the ModShark service: `sudo systemctl start modshark`