diff --git a/README.md b/README.md index b58c589..6e4df8b 100644 --- a/README.md +++ b/README.md @@ -14,8 +14,10 @@ System requirements: - at least Java Runtime Environment (JRE) 17 - wget + +Debian/Ubuntu: ```sh -debian: $ sudo apt install wget openjdk-17-jre +$ sudo apt install wget openjdk-17-jre ``` ### Install system-wide on Linux @@ -23,14 +25,14 @@ debian: $ sudo apt install wget openjdk-17-jre See [latest version](https://github.com/AsamK/signal-cli/releases). ```sh -export VERSION= -wget https://github.com/AsamK/signal-cli/releases/download/v"${VERSION}"/signal-cli-"${VERSION}"-Linux.tar.gz -sudo tar xf signal-cli-"${VERSION}"-Linux.tar.gz -C /opt -sudo ln -sf /opt/signal-cli-"${VERSION}"/bin/signal-cli /usr/local/bin/ +$ export VERSION= +$ wget https://github.com/AsamK/signal-cli/releases/download/v"${VERSION}"/signal-cli-"${VERSION}"-Linux.tar.gz +$ sudo tar xf signal-cli-"${VERSION}"-Linux.tar.gz -C /opt +$ sudo ln -sf /opt/signal-cli-"${VERSION}"/bin/signal-cli /usr/local/bin/ ``` ## Initial Setup -Create user for running the service, --systen creates a system user without home dir and password. : +Create user for running the service, --system creates a system user without home dir and password. : ```sh # adduser --system --group signal-cli ``` @@ -55,19 +57,19 @@ signal-cli$ /usr/local/bin/signal-cli --config /var/lib/signal-cli -u |" /etc/systemd/system/signal-cli.service # systemctl daemon-reload