chiark / gitweb /
Fix service file to match installed elogind binary location master
authorPeter Maydell <pmaydell@chiark.greenend.org.uk>
Sat, 6 Oct 2018 19:31:56 +0000 (20:31 +0100)
committerPeter Maydell <pmaydell@chiark.greenend.org.uk>
Sat, 6 Oct 2018 19:31:56 +0000 (20:31 +0100)
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 <pmaydell@chiark.greenend.org.uk>
src/login/org.freedesktop.login1.service.in

index 84c80ce..046f816 100644 (file)
@@ -7,5 +7,5 @@
 
 [D-BUS Service]
 Name=org.freedesktop.login1
-Exec=@rootlibexecdir@/elogind --daemon
+Exec=/usr/sbin/elogind --daemon
 User=root