mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-11-18 02:20:59 +03:00
2300621dc7
Timers can be enabled as follows: systemctl enable zfs-scrub-weekly@rpool.timer --now systemctl enable zfs-scrub-monthly@datapool.timer --now Each timer will pull in zfs-scrub@${poolname}.service, which is not schedule-specific. Added PERIODIC SCRUB section to zpool-scrub.8. Reviewed-by: Richard Laager <rlaager@wiktel.com> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org> Closes #12193
25 lines
565 B
Makefile
25 lines
565 B
Makefile
include $(top_srcdir)/config/Substfiles.am
|
|
|
|
systemdpreset_DATA = \
|
|
50-zfs.preset
|
|
|
|
systemdunit_DATA = \
|
|
zfs-zed.service \
|
|
zfs-import-cache.service \
|
|
zfs-import-scan.service \
|
|
zfs-mount.service \
|
|
zfs-share.service \
|
|
zfs-volume-wait.service \
|
|
zfs-import.target \
|
|
zfs-volumes.target \
|
|
zfs.target \
|
|
zfs-scrub-monthly@.timer \
|
|
zfs-scrub-weekly@.timer \
|
|
zfs-scrub@.service
|
|
|
|
SUBSTFILES += $(systemdpreset_DATA) $(systemdunit_DATA)
|
|
|
|
install-data-hook:
|
|
$(MKDIR_P) "$(DESTDIR)$(systemdunitdir)"
|
|
ln -sf /dev/null "$(DESTDIR)$(systemdunitdir)/zfs-import.service"
|