Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#40605 - [lirc-utils] modify lirc.service

Attached to Project: Arch Linux
Opened by Yamakaky (Yamakaky) - Friday, 30 May 2014, 08:49 GMT
Last edited by Lukas Fleischer (lfleischer) - Wednesday, 13 August 2014, 08:17 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Lukas Fleischer (lfleischer)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Hi

The default lirc.service isn't optimal. It forces the user to use a driver and device path, or to modify the file in /etc/systemd/. I suggest something like this :

lirc.service
------------
[Unit]
Description=Linux Infrared Remote Control
After=network.target

[Service]
Type=simple
PIDFile=/run/lirc/lircd.pid
RuntimeDirectory=lirc
EnvironmentFile=/etc/conf.d/lircd
ExecStart=/usr/bin/lircd --driver=${LIRC_DRIVER} --device=${LIRC_DEVICE} --nodaemon ${LIRC_EXTRAOPTS}

[Install]
WantedBy=multi-user.target


/etc/conf.d/lircd
-----------------
#
# Parameters for lirc daemon
#
LIRC_DEVICE="/dev/usb/hiddev0"
LIRC_DRIVER="macmini"
LIRC_EXTRAOPTS=""
This task depends upon

Closed by  Lukas Fleischer (lfleischer)
Wednesday, 13 August 2014, 08:17 GMT
Reason for closing:  Fixed
Additional comments about closing:  0.9.1-1 uses systemd units from upstream.
Comment by Doug Newgard (Scimmia) - Friday, 30 May 2014, 14:04 GMT
Orphan, assigning to last two packagers.
Comment by Yamakaky (Yamakaky) - Friday, 30 May 2014, 14:05 GMT
If they don't want to maintain, I can maintain this package in AUR.
Comment by Lukas Fleischer (lfleischer) - Thursday, 07 August 2014, 14:38 GMT
The next version is going to use the systemd unit files provided by upstream.
Comment by Yamakaky (Yamakaky) - Thursday, 07 August 2014, 17:01 GMT
Cool !

Loading...