constellation/image/initrd/mkosi.skeleton/usr/lib/systemd/system/aws-nvme-disk.service

19 lines
408 B
SYSTEMD
Raw Normal View History

2023-09-11 09:52:05 -04:00
[Unit]
Description=Force symlink creation for AWS nvme disks
Before=prepare-state-disk.service
After=network-online.target
Wants=network-online.target
ConditionKernelCommandLine=constel.csp=aws
[Service]
Type=oneshot
ExecStart=/bin/bash /usr/sbin/aws-nvme-disk
RemainAfterExit=yes
StandardOutput=tty
StandardInput=tty
StandardError=tty
TimeoutSec=infinity
[Install]
WantedBy=basic.target multi-user.target