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