dot.nix/nixos/pkgs/snapraid-runner/snapraid-runner.conf
Chris Toph 9a28ac9e44 Custom pkg for snapraid-runner
needs more configuration once snapraid itself is setup
2024-09-04 00:08:14 -04:00

44 lines
No EOL
1.1 KiB
Text

[snapraid]
; path to the snapraid executable (e.g. /bin/snapraid)
executable = /usr/bin/snapraid
; path to the snapraid config to be used
config = /etc/snapraid.conf
; abort operation if there are more deletes than this, set to -1 to disable
deletethreshold = 40
; if you want touch to be ran each time
touch = false
[logging]
; logfile to write to, leave empty to disable
file = /var/log/snapraid-runner.log
; maximum logfile size in KiB, leave empty for infinite
maxsize = 5000
[email]
; when to send an email, comma-separated list of [success, error]
sendon = success,error
; set to false to get full programm output via email
short = true
subject = [SnapRAID] Status Report:
from = cloud@ryot.foo
to = [REDACTED]
; maximum email size in KiB
maxsize = 500
[smtp]
host = ryot.foo
; leave empty for default port
port =
; set to "true" to activate
ssl = true
tls = true
user = admin
password = [REDACTED]
[scrub]
; set to true to run scrub after sync
enabled = true
; scrub plan - either a percentage or one of [bad, new, full]
plan = 12
; minimum block age (in days) for scrubbing. Only used with percentage plans
older-than = 10