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 84c80cedd893aab1bdcc6763829066db3c03ab62..046f816bb96c4fc643a8c6f62091949efdd59fb3 100644 (file)
@@ -7,5 +7,5 @@
 
 [D-BUS Service]
 Name=org.freedesktop.login1
-Exec=@rootlibexecdir@/elogind --daemon
+Exec=/usr/sbin/elogind --daemon
 User=root