From e962f5c34f8e292090fa8c7cb265106a621c8735 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 21 May 2010 23:53:09 +0200 Subject: [PATCH] units: mark a couple of services as OnlyByDependency --- fixme | 2 ++ units/basic.target.m4 | 1 + units/fedora/killall.service | 1 + units/shutdown.target | 1 + 4 files changed, 5 insertions(+) diff --git a/fixme b/fixme index 08ba2dda..4c45633a 100644 --- a/fixme +++ b/fixme @@ -63,6 +63,8 @@ * Add code to systemctl to wait for an operation to finish +* kmod-setup.c + Regularly: * look for close() vs. close_nointr() vs. close_nointr_nofail() diff --git a/units/basic.target.m4 b/units/basic.target.m4 index a8643323..537ad8da 100644 --- a/units/basic.target.m4 +++ b/units/basic.target.m4 @@ -12,6 +12,7 @@ Description=Basic System Requires=local-fs.target swap.target sockets.target After=local-fs.target swap.target sockets.target Conflicts=emergency.service +OnlyByDependency=yes m4_dnl m4_ifdef(`TARGET_FEDORA', m4_dnl Hook in Fedora's /etc/rc.d/rc.sysinit diff --git a/units/fedora/killall.service b/units/fedora/killall.service index a7e07c7f..84c56cb8 100644 --- a/units/fedora/killall.service +++ b/units/fedora/killall.service @@ -8,6 +8,7 @@ [Unit] Description=Kill All Processes After=shutdown.target +OnlyByDependency=yes [Service] Type=finish diff --git a/units/shutdown.target b/units/shutdown.target index 098cd280..c05b8b93 100644 --- a/units/shutdown.target +++ b/units/shutdown.target @@ -9,3 +9,4 @@ [Unit] Description=Shutdown +OnlyByDependency=yes -- 2.39.5