When troubleshooting issues with the *init-storage* service, it is helpful to be able to see the output from it directly on the system (serial) console. If the initialization fails in certain situations, it may be impossible to see the output otherwise. For this to work, though, the unit has to be activated after the systemd journal has started.
16 lines
372 B
Desktop File
16 lines
372 B
Desktop File
[Unit]
|
|
Description=Initialize persistent data storage
|
|
DefaultDependencies=no
|
|
Before=local-fs-pre.target
|
|
After=systemd-journald.service
|
|
After=systemd-remount-fs.service
|
|
After=systemd-sysctl.service
|
|
After=systemd-udev-trigger.service
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
ExecStart=/usr/libexec/init-storage
|
|
StandardInput=null
|
|
StandardOutput=journal+console
|
|
StandardError=journal+console
|