From 767c40b61d0d197c903f79cf37dd24fb499daa80 Mon Sep 17 00:00:00 2001 From: Tharre Date: Thu, 21 May 2015 17:50:48 +0000 Subject: 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. --- PKGBUILD | 2 +- eibd.service | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3-70-g09d2