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.service5
1 files changed, 3 insertions, 2 deletions
diff --git a/abs/core/lirc/lirc.service b/abs/core/lirc/lirc.service
index 953601f..a797d16 100644
--- a/abs/core/lirc/lirc.service
+++ b/abs/core/lirc/lirc.service
@@ -1,11 +1,12 @@
[Unit]
Description=Linux Infrared Remote Control
+After=network.target
[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
+ExecStart=/usr/sbin/lircd --driver=default --device=/dev/lirc0
[Install]
WantedBy=multi-user.target
+