summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-10-07 23:48:48 +0200
committerLennart Poettering <lennart@poettering.net>2010-10-07 23:48:48 +0200
commit447be1550523114f96c7f9eacb9d6a1ff6ca4197 (patch)
tree0cf4eef6e874a80d1056ac850bdbcbc7d7dbcced /Makefile.am
parent4a8a5b2963fca71fca044dcdddc3f767f3cdbd17 (diff)
systemd-user-sessions: install .service file and enable by default
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index 7d0ca9a954..13c6ffa4db 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -228,6 +228,7 @@ nodist_systemunit_DATA = \
units/systemd-readahead-replay.service \
units/systemd-readahead-done.service \
units/systemd-tmpfiles.service \
+ units/systemd-user-sessions.service \
units/syslog.target
dist_sessionunit_DATA = \
@@ -259,6 +260,7 @@ EXTRA_DIST = \
units/systemd-readahead-replay.service.in \
units/systemd-readahead-done.service.in \
units/systemd-tmpfiles.service.in \
+ units/systemd-user-sessions.service.in \
units/syslog.target.in \
units/session/exit.service.in \
systemd.pc.in
@@ -1072,8 +1074,9 @@ install-data-hook:
$(LN_S) graphical.target default.target && \
$(LN_S) reboot.target ctrl-alt-del.target )
( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
- rm -f getty.target && \
- $(LN_S) ../getty.target getty.target )
+ rm -f getty.target systemd-user-sessions.service && \
+ $(LN_S) ../getty.target getty.target && \
+ $(LN_S) ../systemd-user-sessions.service systemd-user-sessions.service )
( cd $(DESTDIR)$(pkgsysconfdir)/system/getty.target.wants && \
rm -f getty@tty1.service getty@tty2.service getty@tty3.service getty@tty4.service getty@tty5.service getty@tty6.service && \
$(LN_S) $(systemunitdir)/getty@.service getty@tty1.service && \