From 4fd45deded6a212479770de8cf553500ba4d6c12 Mon Sep 17 00:00:00 2001 From: Jafner <40403594+Jafner@users.noreply.github.com> Date: Mon, 25 Oct 2021 12:32:40 -0700 Subject: [PATCH] Improve documentation for daemon install --- pamidi_github/README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/pamidi_github/README.md b/pamidi_github/README.md index 89cf04e9..bc0c38ed 100644 --- a/pamidi_github/README.md +++ b/pamidi_github/README.md @@ -23,7 +23,13 @@ Download the script (via `curl` or `wget`) and `chmod +x pa-xtouch-control` to m You can do all of these steps with: ```bash - +curl -o /usr/bin/pa_xtouch_control.sh https://raw.githubusercontent.com/Jafner/pa-xtouch-control/main/pa_xtouch_control.sh && \ +chmod +x /usr/bin/pa_xtouch_control.sh && \ +mkdir -p ~/.config/systemd/user && \ +curl -o ~/.config/systemd/user/pa_xtouch_control.service https://raw.githubusercontent.com/Jafner/pa-xtouch-control/main/pa_xtouch_control.service && \ +systemctl --user daemon-reload && \ +systemctl --user enable pa_xtouch_control.service && \ +systemctl --user start pa_xtouch_control.service ```