computer-playbook/roles/independent_backup-to-swappable/templates/backup-to-swappable.rule.j2

1 line
146 B
Django/Jinja

ACTION=="add", KERNEL=="sd[a-z]", ENV{ID_SERIAL_SHORT}=="{{backup_to_swappable_serial_short}}", RUN+="systemctl start backup-to-swappable.service"