summaryrefslogtreecommitdiff
path: root/filesystems/zfs-snapshot-mgmt/files/pkg-message.in
diff options
context:
space:
mode:
Diffstat (limited to 'filesystems/zfs-snapshot-mgmt/files/pkg-message.in')
-rw-r--r--filesystems/zfs-snapshot-mgmt/files/pkg-message.in19
1 files changed, 19 insertions, 0 deletions
diff --git a/filesystems/zfs-snapshot-mgmt/files/pkg-message.in b/filesystems/zfs-snapshot-mgmt/files/pkg-message.in
new file mode 100644
index 000000000000..8b9ac6273efe
--- /dev/null
+++ b/filesystems/zfs-snapshot-mgmt/files/pkg-message.in
@@ -0,0 +1,19 @@
+[
+{ type: install
+ message: <<EOM
+To actually turn on the automatic snapshots you have to do the following:
+
+1. Add an appropriate crontab entry, e.g.:
+
+ echo "*/5 * * * * root %%PREFIX%%/bin/zfs-snapshot-mgmt" >> /etc/crontab
+
+See zfs-snapshot-mgmt(8) manpage for more details.
+EOM
+},
+{ type: remove
+ message: <<EOM
+Remember to remove zfs-snapshot-mgmt entry from cron configuration.
+Otherwise the system will be constantly trying to call the deinstalled script.
+EOM
+}
+]