summarylogtreecommitdiffstats
path: root/irda.service
diff options
context:
space:
mode:
Diffstat (limited to 'irda.service')
-rw-r--r--irda.service14
1 files changed, 14 insertions, 0 deletions
diff --git a/irda.service b/irda.service
new file mode 100644
index 00000000000..69fb6d500fa
--- /dev/null
+++ b/irda.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=IrDA Support
+After=syslog.target
+
+[Service]
+Type=forking
+PIDFile=/var/run/irattach.pid
+ExecStartPre=/sbin/modprobe -qab ircomm-tty irtty-sir irnet
+ExecStart=/usr/bin/irattach /dev/ttyUSB0 -s
+StandardOutput=syslog
+StandardError=syslog
+
+[Install]
+WantedBy=multi-user.target