homeserver/roles/mgrote.zfs_scrub/templates/zpool-scrub@.service.j2

12 lines
215 B
Text
Raw Normal View History

{{ file_header | default () }}
[Unit]
Description=Scrub ZFS pool "%i"
Requires=zfs.target
After=zfs.target
OnFailure=zpool-scrub-mail.service
[Service]
Type=simple
ExecStart={{ zfs_extra_path_zpool }} scrub -w %i