eventlircd: use /run/lirc instead /var/run/lirc for lircs pid and socket files

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2014-03-07 15:35:59 +01:00
parent 0070407220
commit e1bada8bae
4 changed files with 6 additions and 6 deletions

View File

@ -17,10 +17,10 @@
# along with OpenELEC. If not, see <http://www.gnu.org/licenses/>.
################################################################################
if [ -e /var/run/lirc/lircd.irtrans ]; then
XBMC_ARGS="--lircdev /var/run/lirc/lircd.irtrans"
if [ -e /run/lirc/lircd.irtrans ]; then
XBMC_ARGS="--lircdev /run/lirc/lircd.irtrans"
else
XBMC_ARGS="--lircdev /var/run/lirc/lircd"
XBMC_ARGS="--lircdev /run/lirc/lircd"
fi
echo "XBMC_ARGS=\"$XBMC_ARGS\"" > /run/openelec/xbmc.conf

View File

@ -2,7 +2,7 @@
Description=Eventlirc server daemon
[Service]
ExecStart=/usr/sbin/eventlircd -f --evmap=/etc/eventlircd.d --socket=/var/run/lirc/lircd --release=_UP
ExecStart=/usr/sbin/eventlircd -f --evmap=/etc/eventlircd.d --socket=/run/lirc/lircd --release=_UP
KillMode=process
TimeoutStopSec=1s

View File

@ -16,4 +16,4 @@
# along with OpenELEC. If not, see <http://www.gnu.org/licenses/>.
################################################################################
d /var/run/lirc 0755 root root - -
d /run/lirc 0755 root root - -

View File

@ -16,4 +16,4 @@
# along with OpenELEC. If not, see <http://www.gnu.org/licenses/>.
################################################################################
d /var/run/lirc 0755 root root - -
d /run/lirc 0755 root root - -