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

15 lines
308 B
SYSTEMD
Raw Normal View History

2023-08-02 20:48:47 +02:00
[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/sbin/sanoid --prune-snapshots --verbose
[Install]
WantedBy=sanoid.service