You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
527 B
17 lines
527 B
[Unit]
|
|
Description=LIRC Infrared Signal Decoder
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
EnvironmentFile=-/etc/sysconfig/lirc
|
|
ExecStartPre=-/bin/sh -c 'test -n "${LIRCD_IR_DEVICE}" && \
|
|
echo lirc > /sys/class/rc/${LIRCD_IR_DEVICE}/protocols || :'
|
|
ExecStart=/usr/sbin/lircd ${LIRCD_OPTIONS} \
|
|
--driver ${LIRC_DRIVER} --device ${LIRC_DEVICE} --nodaemon
|
|
ExecStopPost=-/bin/sh -c 'test -n "${LIRCD_IR_DEVICE}" && \
|
|
echo -lirc > /sys/class/rc/${LIRCD_IR_DEVICE}/protocols || :'
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|