mirror of
https://github.com/zfsonlinux/zfs-auto-snapshot.git
synced 2024-11-25 17:43:12 +01:00
74359e51a7
The hourly cron job was installed to cron.daily, and the daily cron job was installed to cron.hourly, which caused incorrect scheduling.
16 lines
854 B
Makefile
16 lines
854 B
Makefile
all:
|
|
|
|
install:
|
|
install -d $(DESTDIR)$(PREFIX)/etc/cron.d
|
|
install -d $(DESTDIR)$(PREFIX)/etc/cron.daily
|
|
install -d $(DESTDIR)$(PREFIX)/etc/cron.hourly
|
|
install -d $(DESTDIR)$(PREFIX)/etc/cron.weekly
|
|
install -d $(DESTDIR)$(PREFIX)/etc/cron.monthly
|
|
install etc/zfs-auto-snapshot.cron.frequent $(DESTDIR)$(PREFIX)/etc/cron.d/zfs-auto-snapshot
|
|
install etc/zfs-auto-snapshot.cron.hourly $(DESTDIR)$(PREFIX)/etc/cron.hourly/zfs-auto-snapshot
|
|
install etc/zfs-auto-snapshot.cron.daily $(DESTDIR)$(PREFIX)/etc/cron.daily/zfs-auto-snapshot
|
|
install etc/zfs-auto-snapshot.cron.weekly $(DESTDIR)$(PREFIX)/etc/cron.weekly/zfs-auto-snapshot
|
|
install etc/zfs-auto-snapshot.cron.monthly $(DESTDIR)$(PREFIX)/etc/cron.monthly/zfs-auto-snapshot
|
|
install -d $(DESTDIR)$(PREFIX)/sbin
|
|
install src/zfs-auto-snapshot.sh $(DESTDIR)$(PREFIX)/sbin/zfs-auto-snapshot
|