Skip to content

Commit 739972f

Browse files
committed
Found a way to exec the process and yet have it work
1 parent 8c45add commit 739972f

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

etc/zfs-auto-snapshot.cron.daily

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
# Only call zfs-auto-snapshot if it's available
44
which zfs-auto-snapshot > /dev/null && \
5-
zfs-auto-snapshot --quiet --syslog --label=daily --keep=31 //
5+
exec zfs-auto-snapshot --quiet --syslog --label=daily --keep=31 //

etc/zfs-auto-snapshot.cron.hourly

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
# Only call zfs-auto-snapshot if it's available
44
which zfs-auto-snapshot > /dev/null && \
5-
zfs-auto-snapshot --quiet --syslog --label=hourly --keep=24 //
5+
exec zfs-auto-snapshot --quiet --syslog --label=hourly --keep=24 //

etc/zfs-auto-snapshot.cron.monthly

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
# Only call zfs-auto-snapshot if it's available
44
which zfs-auto-snapshot > /dev/null && \
5-
zfs-auto-snapshot --quiet --syslog --label=monthly --keep=12 //
5+
exec zfs-auto-snapshot --quiet --syslog --label=monthly --keep=12 //

etc/zfs-auto-snapshot.cron.weekly

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
# Only call zfs-auto-snapshot if it's available
44
which zfs-auto-snapshot > /dev/null && \
5-
zfs-auto-snapshot --quiet --syslog --label=weekly --keep=8 //
5+
exec zfs-auto-snapshot --quiet --syslog --label=weekly --keep=8 //

0 commit comments

Comments
 (0)