From ed147bedbed05837d73be63c4844854100af85c4 Mon Sep 17 00:00:00 2001 From: Sune Date: Thu, 7 Sep 2023 01:17:48 +0200 Subject: [PATCH] editing readme --- README.md | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) 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