improve config file handling

This commit is contained in:
Chronial committed 2014-02-15 09:59:50 +01:00
1 parent 45239c4c6a
commit 1469243b54
3 files changed
+8

No files matched your search

+37
View File
@@ -0,0 +1,37 @@
[snapraid]
; path to the snapraid executable
executable =
; path to the snapraid config to be used
config = snapraid.conf
; abort operation if there are more deletes than this, set to -1 to disable
deletethreshold = 40
[logging]
; logfile to write to, leave empty to disable
file = snapraid.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 =
to =
[smtp]
host =
; leave empty for default port
port =
; set to "true" to activate
ssl = false
user =
password =
[scrub]
; set to true to run scrub after sync
enabled = false
percentage = 12
older-than = 10