summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--PKGBUILD4
-rw-r--r--klipper.service2
-rw-r--r--tmpfiles.conf1
3 files changed, 4 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 4362725e3d0..0e3dbc9bd72 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -35,9 +35,9 @@ install=
source=('git+https://github.com/KevinOConnor/klipper#branch=master' 'klipper.service' 'sysusers.conf' 'tmpfiles.conf')
noextract=()
md5sums=('SKIP'
- '4b915228f21e65dbe143ad93074d91e9'
+ '4bb29bd138c4b01e15a09d2c1a0d0f66'
'61912d101dc7c68c7314882b80621454'
- '218dfe92aa1a1c2654be11cca99e6cd3')
+ '1a71747e1579e5d5503b95c3a6aa681f')
pkgver() {
cd "$srcdir/${pkgname%-git}"
diff --git a/klipper.service b/klipper.service
index 99b4a0a9840..8c6ffe87175 100644
--- a/klipper.service
+++ b/klipper.service
@@ -8,6 +8,6 @@ WantedBy=multi-user.target
Type=simple
User=klipper
RemainAfterExit=yes
-ExecStart=/usr/bin/python2 /opt/klipper/klippy/klippy.py /etc/klipper/klipper.cfg
+ExecStart=/usr/bin/python2 /opt/klipper/klippy/klippy.py /etc/klipper/klipper.cfg -I /run/klipper/sock
Restart=always
RestartSec=10
diff --git a/tmpfiles.conf b/tmpfiles.conf
index b0f35dd9633..162b2dd76b1 100644
--- a/tmpfiles.conf
+++ b/tmpfiles.conf
@@ -1 +1,2 @@
d /etc/klipper 0775 klipper klipper - -
+d /run/klipper 0755 klipper tty - -