journal: don't pull in flush service from journald service

In the initrd we don't need the flush service hence don't attempt to
pull it in.
This commit is contained in:
Lennart Poettering 2012-08-24 23:23:08 +02:00
parent 7e75c5ac2d
commit ddffe89246
2 changed files with 3 additions and 3 deletions

View File

@ -2575,8 +2575,9 @@ journal-install-data-hook:
rm -f systemd-journald.socket && \
$(LN_S) ../systemd-journald.socket )
( cd $(DESTDIR)$(systemunitdir)/sysinit.target.wants && \
rm -f systemd-journald.service && \
$(LN_S) ../systemd-journald.service )
rm -f systemd-journald.service systemd-journal-flush.service && \
$(LN_S) ../systemd-journald.service && \
$(LN_S) ../systemd-journal-flush.service )
INSTALL_DATA_HOOKS += \
journal-install-data-hook

View File

@ -9,7 +9,6 @@
Description=Journal Service
Documentation=man:systemd-journald.service(8) man:journald.conf(5)
DefaultDependencies=no
Wants=systemd-journal-flush.service
Requires=systemd-journald.socket
After=systemd-journald.socket syslog.socket
Before=sysinit.target