summaryrefslogtreecommitdiffstats
path: root/abs/core/lirc/lirc.service
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/lirc/lirc.service')
-rw-r--r--abs/core/lirc/lirc.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/abs/core/lirc/lirc.service b/abs/core/lirc/lirc.service
new file mode 100644
index 0000000..953601f
--- /dev/null
+++ b/abs/core/lirc/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