summaryrefslogtreecommitdiff
path: root/libre/lirc-libre/lirc.service
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2012-10-04 13:58:22 -0300
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2012-10-04 13:58:22 -0300
commitdf01a0e41c2338654de4b9cfcd9bb93222391455 (patch)
treef7768bc6e0a78e8762eabfc34edf0badb534196d /libre/lirc-libre/lirc.service
parentec9cdedd818fc5450a1f039298a1318ac8c53c94 (diff)
lirc-libre-1:0.9.0-28: updating revision (adding systemd units)
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