[systemd-devel] Questions about executing systemctl isolate and systemctl start in sequence

Alien Kong kqleno at gmail.com
Thu Aug 7 13:01:14 UTC 2025


Hello,

I'd like to ask if systemctl isolate and systemctl start can be executed
together.

*Background*
A.target is the system's default.target. A.target is associated with
A.service, which executes A.sh. That is, systemd first executes A.sh after
booting.
A.sh switches to multi-user.target via systemctl isolate multi-user.target
in the final stage. The following statement immediately executes systemctl
start X.service. X.service has a default dependency on sysinit.target.


*A.sh*
>
>
>
> *...systemctl --no-block  isolate multi-user.targetsystemctl start
> X.service*


*Question*
Does this syntax potentially cause issues, such as systemd server timeouts
or job conflicts? Thanks.


Best regards,
Alien Kong
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20250807/155db58a/attachment.htm>


More information about the systemd-devel mailing list