Added zpool scrub timer/service
This commit is contained in:
parent
4e909b3bde
commit
c4934dc271
11
zfs-scrub@.service
Normal file
11
zfs-scrub@.service
Normal file
@ -0,0 +1,11 @@
|
||||
[Unit]
|
||||
Description=zpool scrub on %i
|
||||
|
||||
[Service]
|
||||
Nice=19
|
||||
IOSchedulingClass=idle
|
||||
KillSignal=SIGINT
|
||||
ExecStart=/usr/bin/zpool scrub %i
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
10
zfs-scrub@.timer
Normal file
10
zfs-scrub@.timer
Normal file
@ -0,0 +1,10 @@
|
||||
[Unit]
|
||||
Description=Monthly zpool scrub on %i
|
||||
|
||||
[Timer]
|
||||
OnCalendar=Sun *-*-1..7 00:00:00
|
||||
AccuracySec=1h
|
||||
Persistent=true
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
x
Reference in New Issue
Block a user