summarylogtreecommitdiffstats
path: root/klipper.service
diff options
context:
space:
mode:
authorloredan132020-01-07 22:24:10 +0300
committerloredan132020-01-07 22:24:10 +0300
commitcf7284e57805e7936ba27df888d958fc92a8a19c (patch)
treee1dca43f1a4bbc4476172ee5d7f55b817d18e5c7 /klipper.service
parentef8f4d80fe5dd196fee3ed45a8e07e1be152d6a8 (diff)
downloadaur-cf7284e57805e7936ba27df888d958fc92a8a19c.tar.gz
Fixed dependencies, changed service similar to example, moved socket to default /tmp/printer
Diffstat (limited to 'klipper.service')
-rw-r--r--klipper.service11
1 files changed, 7 insertions, 4 deletions
diff --git a/klipper.service b/klipper.service
index fd960d5664f..99b4a0a9840 100644
--- a/klipper.service
+++ b/klipper.service
@@ -1,10 +1,13 @@
[Unit]
Description=3D printer firmware with motion planning on the host
+[Install]
+WantedBy=multi-user.target
+
[Service]
-ExecStart=/usr/bin/python2 /opt/klipper/klippy/klippy.py /etc/klipper/klipper.cfg -l /var/log/klipper/klippy.log -I /run/klipper/sock
Type=simple
User=klipper
-
-[Install]
-WantedBy=multi-user.target
+RemainAfterExit=yes
+ExecStart=/usr/bin/python2 /opt/klipper/klippy/klippy.py /etc/klipper/klipper.cfg
+Restart=always
+RestartSec=10