From: Lennart Poettering Date: Fri, 21 May 2010 21:53:09 +0000 (+0200) Subject: units: mark a couple of services as OnlyByDependency X-Git-Tag: 0.git+20100605+dfd8ee-1~11^2^2~24 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e962f5c34f8e292090fa8c7cb265106a621c8735;p=systemd units: mark a couple of services as OnlyByDependency --- 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