aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTharre <tharre3@gmail.com>2015-05-21 17:50:48 +0000
committerTharre <tharre3@gmail.com>2015-05-21 17:50:48 +0000
commit767c40b61d0d197c903f79cf37dd24fb499daa80 (patch)
tree2a9f3e1644b80c4eeac2a22deb2f686bf020b7b2
parent59add62d538d571b672baab4d6f4636ea17f598d (diff)
downloadpkgbuilds-767c40b61d0d197c903f79cf37dd24fb499daa80.tar.gz
pkgbuilds-767c40b61d0d197c903f79cf37dd24fb499daa80.tar.xz
pkgbuilds-767c40b61d0d197c903f79cf37dd24fb499daa80.zip
Don't run service as root.
It's a really bad idea to run eibd as root, it even advocates so itself. This is especially bad as eibd is now officially unmaintained. So, don't run as root.
-rw-r--r--PKGBUILD2
-rw-r--r--eibd.service1
2 files changed, 2 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 86eaaa0..101bf31 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -15,7 +15,7 @@ source=(http://www.auto.tuwien.ac.at/~mkoegler/eib/bcusdk_${pkgver}.tar.gz
md5sums=('5f81bc4e6bb53564573d573e795a9a5f'
'b9e50d68138fb74a4d0f6370a720d8fe'
'82e079c823fa226146ba49b47c76bab7'
- '84480896abe84911aa02fe623475f0aa'
+ '6535a482ea51ff5f8d9abf3d560fca1a'
'815323eebff8bc442c1e653a34e6b0b4')
prepare() {
diff --git a/eibd.service b/eibd.service
index 2ad47c0..133a19e 100644
--- a/eibd.service
+++ b/eibd.service
@@ -3,6 +3,7 @@ Description=EIB Daemon
After=network.target
[Service]
+User=daemon
EnvironmentFile=/etc/conf.d/eibd.conf
ExecStart=/usr/bin/eibd $EIBD_OPTS