This repository has been archived on 2024-08-22. You can view files and clone it, but cannot push or open issues or pull requests.
sanoid-deb/sanoid-prune.service
2023-08-02 20:56:31 +02:00

14 lines
307 B
Desktop File

[Unit]
Description=Prune ZFS snapshots
Documentation=man:sanoid(8)
Requires=local-fs.target
After=local-fs.target sanoid.service
ConditionFileNotEmpty=/etc/sanoid/sanoid.conf
[Service]
Type=oneshot
Environment=TZ=UTC
ExecStart=/usr/bin/sanoid --prune-snapshots --verbose
[Install]
WantedBy=sanoid.service