Saltstack Official Linux Formula
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

17 linhas
526B

  1. [Unit]
  2. Description=Setup {{ device_name }} device
  3. DefaultDependencies=no
  4. After=systemd-udev-settle.service
  5. Before=lvm2-activation-early.service
  6. Wants=systemd-udev-settle.service
  7. [Service]
  8. {# The command is prefixed with '-' to consider it a success if the loopback device is already setup #}
  9. ExecStart=-/sbin/losetup {{ device_name }} {{ file }}
  10. {# In order to Salt can recognize oneshot service as running, we need it to remain active after it exited #}
  11. RemainAfterExit=true
  12. Type=oneshot
  13. [Install]
  14. WantedBy=local-fs.target