You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
bs-units/zfs-snapshot@.service

7 lines
155 B

[Unit]
Description=Create ZFS Snaphot of %I
[Service]
Type=simple
ExecStart=/bin/sh -c '/sbin/zfs snapshot %I@$(/bin/date +%%Y-%%m-%%d_%%H-%%M-%%S)_auto'