mirror of
https://github.com/zfsonlinux/zfs-auto-snapshot.git
synced 2025-08-19 08:52:02 +02:00
Found a way to exec the process and yet have it work
This commit is contained in:
@@ -2,4 +2,4 @@
|
||||
|
||||
# Only call zfs-auto-snapshot if it's available
|
||||
which zfs-auto-snapshot > /dev/null && \
|
||||
zfs-auto-snapshot --quiet --syslog --label=daily --keep=31 //
|
||||
exec zfs-auto-snapshot --quiet --syslog --label=daily --keep=31 //
|
||||
|
@@ -2,4 +2,4 @@
|
||||
|
||||
# Only call zfs-auto-snapshot if it's available
|
||||
which zfs-auto-snapshot > /dev/null && \
|
||||
zfs-auto-snapshot --quiet --syslog --label=hourly --keep=24 //
|
||||
exec zfs-auto-snapshot --quiet --syslog --label=hourly --keep=24 //
|
||||
|
@@ -2,4 +2,4 @@
|
||||
|
||||
# Only call zfs-auto-snapshot if it's available
|
||||
which zfs-auto-snapshot > /dev/null && \
|
||||
zfs-auto-snapshot --quiet --syslog --label=monthly --keep=12 //
|
||||
exec zfs-auto-snapshot --quiet --syslog --label=monthly --keep=12 //
|
||||
|
@@ -2,4 +2,4 @@
|
||||
|
||||
# Only call zfs-auto-snapshot if it's available
|
||||
which zfs-auto-snapshot > /dev/null && \
|
||||
zfs-auto-snapshot --quiet --syslog --label=weekly --keep=8 //
|
||||
exec zfs-auto-snapshot --quiet --syslog --label=weekly --keep=8 //
|
||||
|
Reference in New Issue
Block a user