Added zpool scrub timer/service

master
BrainwreckedTech 3 years ago
parent 4e909b3bde
commit c4934dc271

@ -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

@ -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…
Cancel
Save