aboutsummaryrefslogtreecommitdiffstats
path: root/sanoid.service
blob: 3ab70b324c4546d40055d74914127309536e3432 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
[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/bin/sanoid --take-snapshots --verbose