2022-10-19 13:10:15 +02:00
|
|
|
[Unit]
|
|
|
|
Description=Prepare encrypted state disk
|
|
|
|
Before=initrd-fs.target
|
2022-11-07 16:17:20 +01:00
|
|
|
After=network-online.target nss-lookup.target configure-constel-csp.service
|
2022-10-19 13:10:15 +02:00
|
|
|
Wants=network-online.target
|
|
|
|
Requires=initrd-root-fs.target
|
|
|
|
FailureAction=reboot-immediate
|
2023-02-24 14:25:39 +01:00
|
|
|
After=export_constellation_debug.service
|
2022-10-19 13:10:15 +02:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=oneshot
|
|
|
|
EnvironmentFile=/run/constellation.env
|
2023-02-24 14:25:39 +01:00
|
|
|
ExecStart=/bin/bash /usr/sbin/prepare-state-disk $CONSTELLATION_DEBUG_FLAGS
|
2022-10-19 13:10:15 +02:00
|
|
|
RemainAfterExit=yes
|
|
|
|
StandardOutput=tty
|
|
|
|
StandardInput=tty
|
|
|
|
StandardError=tty
|
|
|
|
TimeoutSec=infinity
|