summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2010-09-21 21:43:40 +0200
committerKay Sievers <kay.sievers@vrfy.org>2010-09-21 21:43:40 +0200
commit65ae3821ff45cf65e53cab82a81ea00cfec942a8 (patch)
tree6f44eafe07e33ddb7052a5a8d91be9dacf1734e2 /Makefile.am
parentf9ccc724990035fd9b2905857a695ade041ab133 (diff)
units: enable var-run + var-lock service by default
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index d233da6ca5..f5d46904af 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -905,6 +905,7 @@ install-data-hook:
$(DESTDIR)$(systemunitdir)/sockets.target.wants \
$(DESTDIR)$(systemunitdir)/sysinit.target.wants \
$(DESTDIR)$(systemunitdir)/shutdown.target.wants \
+ $(DESTDIR)$(systemunitdir)/local-fs.target.wants \
$(DESTDIR)$(systemunitdir)/runlevel1.target.wants \
$(DESTDIR)$(systemunitdir)/runlevel2.target.wants \
$(DESTDIR)$(systemunitdir)/runlevel3.target.wants \
@@ -946,6 +947,12 @@ install-data-hook:
$(LN_S) ../systemd-update-utmp-shutdown.service && \
$(LN_S) ../hwclock-save.service && \
$(LN_S) ../systemd-random-seed-save.service )
+ ( cd $(DESTDIR)$(systemunitdir)/local-fs.target.wants && \
+ rm -f systemd-update-utmp-shutdown.service \
+ var-run.service \
+ var-lock.service && \
+ $(LN_S) ../var-run.service && \
+ $(LN_S) ../var-lock.service )
( cd $(DESTDIR)$(sessionunitdir) && \
rm -f shutdown.target sockets.target local-fs.target swap.target bluetooth.target printer.target && \
$(LN_S) $(systemunitdir)/shutdown.target shutdown.target && \