summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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