From d3c559c25858a614318beb1a70bf36602747ac17 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 14 Feb 2011 23:09:51 +0100 Subject: [PATCH] make single.service an alias for rescue.service --- systemd.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/systemd.spec b/systemd.spec index b29a550..de87ffc 100644 --- a/systemd.spec +++ b/systemd.spec @@ -121,6 +121,9 @@ mkdir -p %{buildroot}/lib/systemd/system/syslog.target.wants mkdir -p %{buildroot}%{_sysconfdir}/rpm/ install -m 0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/rpm/ +# Mask legacy stuff +ln -s rescue.service %{buildroot}/lib/systemd/system/single.service + %clean rm -rf $RPM_BUILD_ROOT