summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Klopfenstein <benklop@gmail.com>2015-08-09 13:53:07 -0600
committerBen Klopfenstein <benklop@gmail.com>2015-08-09 13:53:07 -0600
commitee9e8bc7070636a18c20e7f7a9cd3e5b9f72d113 (patch)
tree16b50a29c6a61d54708fde055ed6bc12ee974858 /app-misc/lirc/files/lircd.service.patch
parentupdate packages to most recent (diff)
downloadbenklop-ee9e8bc7070636a18c20e7f7a9cd3e5b9f72d113.tar.gz
benklop-ee9e8bc7070636a18c20e7f7a9cd3e5b9f72d113.tar.bz2
benklop-ee9e8bc7070636a18c20e7f7a9cd3e5b9f72d113.zip
make LIRC install udev rules for device permissionsHEADmaster
Diffstat (limited to 'app-misc/lirc/files/lircd.service.patch')
-rw-r--r--app-misc/lirc/files/lircd.service.patch4
1 files changed, 3 insertions, 1 deletions
diff --git a/app-misc/lirc/files/lircd.service.patch b/app-misc/lirc/files/lircd.service.patch
index c5013ee..8dadd6a 100644
--- a/app-misc/lirc/files/lircd.service.patch
+++ b/app-misc/lirc/files/lircd.service.patch
@@ -1,12 +1,14 @@
--- a/systemd/lircd.service 2015-08-05 04:33:05.940754618 -0600
+++ b/systemd/lircd.service 2015-08-05 01:18:38.694447032 -0600
-@@ -4,6 +4,10 @@
+@@ -6,6 +6,12 @@
[Service]
Type=simple
+
+ExecStartPre=/bin/mkdir -p /var/run/lirc
+ExecStartPre=/bin/chown -R lirc:lirc /var/run/lirc
++User=lirc
++Group=lirc
+
ExecStart=/usr/sbin/lircd --nodaemon