From: Peter Maydell Date: Sat, 6 Oct 2018 19:31:56 +0000 (+0100) Subject: Fix service file to match installed elogind binary location X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=b0118a799cb47c331d976d9d43ce0c5130b13cdc Fix service file to match installed elogind binary location debian/elogind.install puts the elogind binary in /usr/sbin, which then means the service file has the wrong path. FIXME: this is a bit of a hack -- is there a cleaner way? Signed-off-by: Peter Maydell --- diff --git a/src/login/org.freedesktop.login1.service.in b/src/login/org.freedesktop.login1.service.in index 84c80cedd..046f816bb 100644 --- a/src/login/org.freedesktop.login1.service.in +++ b/src/login/org.freedesktop.login1.service.in @@ -7,5 +7,5 @@ [D-BUS Service] Name=org.freedesktop.login1 -Exec=@rootlibexecdir@/elogind --daemon +Exec=/usr/sbin/elogind --daemon User=root