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:
@@ -3,7 +3,7 @@ Description=Штурман Settings (ru.shturman.Settings1)
|
||||
# Requires+After firstboot: не стартуем против полу-провиженного /data (Wants недостаточно).
|
||||
Requires=data.mount shturman-firstboot.service
|
||||
After=data.mount shturman-firstboot.service shturman-machineid.service dbus.service
|
||||
PartOf=shturman.target
|
||||
PartOf=shturman-stage1.target
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/local/bin/shturman-settings
|
||||
@@ -13,4 +13,4 @@ RestartSec=2
|
||||
OOMScoreAdjust=-600
|
||||
|
||||
[Install]
|
||||
WantedBy=shturman.target
|
||||
WantedBy=shturman-stage1.target
|
||||
|
||||
Reference in New Issue
Block a user