[systemd-devel] Service to pause startup and wait for user input

Mantas Mikulėnas grawity at gmail.com
Thu Jan 25 17:40:38 UTC 2018


On Thu, Jan 25, 2018 at 7:24 PM, Boyce, Kevin P [US] (AS) <
Kevin.Boyce at ngc.com> wrote:

> Good Afternoon List,
>
>
>
> Does anyone know if there is a way to create a service unit that pauses
> early on in the boot sequence and asks the user a question?
>
> A reply would be required via keyboard.
>

Use systemd-firstboot.service as an example. It has DefaultDependencies=no
and orders itself before sysinit.target and some early-boot services.

See also the diagram in the bootup(7) manpage.

-- 
Mantas Mikulėnas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20180125/8d115d91/attachment.html>


More information about the systemd-devel mailing list