From e3d84721dc9bcf9008f72dae03ff0f7842d0bb4b Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 25 Mar 2013 21:20:08 +0100 Subject: units: introduce new timers.target and paths.target to hook timer/path units into for boot --- units/basic.target | 4 ++-- units/paths.target | 10 ++++++++++ units/systemd-ask-password-console.path | 2 +- units/systemd-ask-password-wall.path | 2 +- units/timers.target | 10 ++++++++++ 5 files changed, 24 insertions(+), 4 deletions(-) create mode 100644 units/paths.target create mode 100644 units/timers.target (limited to 'units') diff --git a/units/basic.target b/units/basic.target index f9d03fa16f..b67c996b39 100644 --- a/units/basic.target +++ b/units/basic.target @@ -8,6 +8,6 @@ [Unit] Description=Basic System Documentation=man:systemd.special(7) -Requires=sysinit.target sockets.target -After=sysinit.target sockets.target +Requires=sysinit.target sockets.target timers.target paths.target +After=sysinit.target sockets.target timers.target paths.target RefuseManualStart=yes diff --git a/units/paths.target b/units/paths.target new file mode 100644 index 0000000000..25c7fd031e --- /dev/null +++ b/units/paths.target @@ -0,0 +1,10 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. + +[Unit] +Description=Paths +Documentation=man:systemd.special(7) diff --git a/units/systemd-ask-password-console.path b/units/systemd-ask-password-console.path index 80f6cc4c18..2949635fea 100644 --- a/units/systemd-ask-password-console.path +++ b/units/systemd-ask-password-console.path @@ -11,7 +11,7 @@ Documentation=man:systemd-ask-password-console.service(8) DefaultDependencies=no Conflicts=shutdown.target After=plymouth-start.service -Before=basic.target shutdown.target +Before=paths.target shutdown.target ConditionPathExists=!/run/plymouth/pid [Path] diff --git a/units/systemd-ask-password-wall.path b/units/systemd-ask-password-wall.path index 62dee80552..95ec9bc8a0 100644 --- a/units/systemd-ask-password-wall.path +++ b/units/systemd-ask-password-wall.path @@ -10,7 +10,7 @@ Description=Forward Password Requests to Wall Directory Watch Documentation=man:systemd-ask-password-console.service(8) DefaultDependencies=no Conflicts=shutdown.target -Before=basic.target shutdown.target +Before=paths.target shutdown.target [Path] DirectoryNotEmpty=/run/systemd/ask-password diff --git a/units/timers.target b/units/timers.target new file mode 100644 index 0000000000..07fda3d9d0 --- /dev/null +++ b/units/timers.target @@ -0,0 +1,10 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. + +[Unit] +Description=Timers +Documentation=man:systemd.special(7) -- cgit v1.2.3-54-g00ecf