From 8ed68df7735691b9e8dada93b1ea020c1acebf9b 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 --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 89cf04e..bc0c38e 100644 --- a/README.md +++ b/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 ```