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.service

14 lines
317 B
SYSTEMD
Raw Normal View History

2023-08-02 20:48:47 +02:00
[Unit]
Description=Snapshot ZFS filesystems
Documentation=man:sanoid(8)
Requires=local-fs.target
After=local-fs.target
Before=sanoid-prune.service
Wants=sanoid-prune.service
ConditionFileNotEmpty=/etc/sanoid/sanoid.conf
[Service]
Type=oneshot
Environment=TZ=UTC
ExecStart=/usr/sbin/sanoid --take-snapshots --verbose