Saltstack Official Linux Formula
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- [Unit]
- Description=Setup {{ device_name }} device
- DefaultDependencies=no
- After=systemd-udev-settle.service
- Before=lvm2-activation-early.service
- Wants=systemd-udev-settle.service
-
- [Service]
- {# The command is prefixed with '-' to consider it a success if the loopback device is already setup #}
- ExecStart=-/sbin/losetup {{ device_name }} {{ file }}
- {# In order to Salt can recognize oneshot service as running, we need it to remain active after it exited #}
- RemainAfterExit=true
- Type=oneshot
-
- [Install]
- WantedBy=local-fs.target
|