Improve documentation for daemon install

This commit is contained in:
Jafner 2021-10-25 12:32:40 -07:00
parent f563f43df6
commit 8ed68df773

View File

@ -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: You can do all of these steps with:
```bash ```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
``` ```