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

Uoti Urpala uoti.urpala at pp1.inet.fi
Thu Jan 25 17:43:59 UTC 2018


On Thu, 2018-01-25 at 17:24 +0000, Boyce, Kevin P [US] (AS) wrote:
> 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.

There is no separate "pause" feature. You can likely implement the
wanted functionality with explicit dependencies - create a unit which
is only considered "started" when the question has been answered, and
make whatever other units you want to start only after that depend on
the new unit.



More information about the systemd-devel mailing list