feat(v0.2): фазовые systemd-таргеты Stage 0/1/2 + splash/warmup + зонтик
P6.3: shturman.target → зонтик (Wants stage0/1/2). Новые: stage0/1/2.target, shturman-splash.service (Before=shell, минимум зависимостей → «мгновенно»), shturman-stage2-warmup.service (After=shell, маркер /run/shturman/stage2.ready), tmpfiles-shturman.conf (/run/shturman). Члены critical set → stage1.target (WantedBy+PartOf); у shell убран RuntimeDirectory (каталог теперь от tmpfiles). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Signed-off-by: Alexander <akotenev2003@gmail.com>
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
[Unit]
|
||||
Description=Штурман splash (Stage 0, software-render → PNG)
|
||||
# «Мгновенно»: без Requires=data.mount/dbus — стартует рано, параллельно critical set.
|
||||
# Before=shell гарантирует splash.png раньше frame.png. /run/shturman даёт tmpfiles.
|
||||
After=systemd-tmpfiles-setup.service
|
||||
Before=shturman-shell.service
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
RemainAfterExit=yes
|
||||
ExecStart=/usr/local/bin/shturman-splash --screenshot /run/shturman/splash.png
|
||||
TimeoutStartSec=15
|
||||
|
||||
[Install]
|
||||
WantedBy=shturman-stage0.target
|
||||
Reference in New Issue
Block a user