chiark / gitweb /
units: fix logger/initctl paths
authorLennart Poettering <lennart@poettering.net>
Fri, 23 Apr 2010 20:18:55 +0000 (22:18 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 23 Apr 2010 20:18:55 +0000 (22:18 +0200)
Makefile.am
socket.c
units/systemd-initctl.service.in
units/systemd-logger.service.in

index 7afa2f1..d08644a 100644 (file)
@@ -246,10 +246,14 @@ systemadm_CPPFLAGS = $(AM_CPPFLAGS) $(DBUSGLIB_CFLAGS) $(GTK_CFLAGS)
 systemadm_LDADD = $(DBUSGLIB_LIBS) $(GTK_LIBS)
 
 systemd-initctl.service: units/systemd-initctl.service.in Makefile
-       sed -e 's,@libexecdir\@,$(libexecdir),g' < $< > $@
+       sed -e 's,@libexecdir\@,$(libexecdir),g' \
+               -e 's,@pkglibexecdir\@,$(pkglibexecdir),g' \
+               < $< > $@
 
 systemd-logger.service: units/systemd-logger.service.in Makefile
-       sed -e 's,@libexecdir\@,$(libexecdir),g' < $< > $@
+       sed -e 's,@libexecdir\@,$(libexecdir),g' \
+               -e 's,@pkglibexecdir\@,$(pkglibexecdir),g' \
+               < $< > $@
 
 CLEANFILES = \
        systemd-interfaces.c \
index cb065b7..6d15cfe 100644 (file)
--- a/socket.c
+++ b/socket.c
@@ -1110,7 +1110,6 @@ static void socket_fd_event(Unit *u, int fd, uint32_t events, Watch *w) {
                 }
         }
 
-        log_debug("cfd=%i", cfd);
         socket_enter_running(s, cfd);
         return;
 
index 268cd9c..4fce847 100644 (file)
@@ -2,5 +2,5 @@
 Description=systemd /dev/initctl Compatibility
 
 [Service]
-ExecStart=@libexecdir@/systemd-initctl
+ExecStart=@pkglibexecdir@/systemd-initctl
 Type=simple
index fd0621a..55f3841 100644 (file)
@@ -2,5 +2,5 @@
 Description=systemd Logging Daemon
 
 [Service]
-ExecStart=@libexecdir@/systemd-logger
+ExecStart=@pkglibexecdir@/systemd-logger
 Type=simple