summaryrefslogtreecommitdiff
path: root/libre/lirc-libre/lirc.service
diff options
context:
space:
mode:
Diffstat (limited to 'libre/lirc-libre/lirc.service')
-rw-r--r--libre/lirc-libre/lirc.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/libre/lirc-libre/lirc.service b/libre/lirc-libre/lirc.service
new file mode 100644
index 000000000..953601fd3
--- /dev/null
+++ b/libre/lirc-libre/lirc.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=Linux Infrared Remote Control
+
+[Service]
+ExecStartPre=/usr/bin/ln -sf /run/lirc/lircd /dev/lircd
+ExecStart=/usr/sbin/lircd --pidfile=/run/lirc/lircd.pid
+Type=forking
+PIDFile=/run/lirc/lircd.pid
+
+[Install]
+WantedBy=multi-user.target