From: Micah Anderson Date: Wed, 26 Oct 2005 23:00:18 +0000 (+0000) Subject: Move configuration to autotools template X-Git-Tag: backupninja-0.9.2~98 X-Git-Url: https://git.stderr.nl/gitweb?p=matthijs%2Fupstream%2Fbackupninja.git;a=commitdiff_plain;h=195a1bdc0726d2c693f20c1eefef0fb94c193ab1 Move configuration to autotools template --- diff --git a/etc/backupninja.conf b/etc/backupninja.conf deleted file mode 100644 index 6fe2708..0000000 --- a/etc/backupninja.conf +++ /dev/null @@ -1,49 +0,0 @@ -# -# |\_ -# B A C K U P N I N J A /()/ -# `\| -# main configuration file -# - -# how verbose to make the logs -# 5 -- Debugging messages (and below) -# 4 -- Informational messages (and below) -# 3 -- Warnings (and below) -# 2 -- Errors (and below) -# 1 -- Fatal errors (only) -loglevel = 4 - -# send a summary of the backup status to -# this email address: -reportemail = root - -# if set to 'yes', a report email will be generated -# even if all modules reported success. (default = yes) -reportsuccess = yes - -# if set to 'yes', a report email will be generated -# even if there was no error. (default = yes) -reportwarning = yes - -####################################################### -# for most installations, the defaults below are good # -####################################################### - -# where to log: -logfile = /var/log/backupninja.log - -# directory where all the backup configuration files live -configdirectory = /etc/backup.d - -# where backupninja helper scripts are found -scriptdirectory = /usr/share/backupninja - -# whether to use colors in the log file -usecolors = yes - -# default value for 'when' -when = everyday at 01:00 - -# if running vservers, set to yes -vservers = no - diff --git a/etc/backupninja.conf.in b/etc/backupninja.conf.in new file mode 100644 index 0000000..f64e16f --- /dev/null +++ b/etc/backupninja.conf.in @@ -0,0 +1,49 @@ +# +# |\_ +# B A C K U P N I N J A /()/ +# `\| +# main configuration file +# + +# how verbose to make the logs +# 5 -- Debugging messages (and below) +# 4 -- Informational messages (and below) +# 3 -- Warnings (and below) +# 2 -- Errors (and below) +# 1 -- Fatal errors (only) +loglevel = 4 + +# send a summary of the backup status to +# this email address: +reportemail = root + +# if set to 'yes', a report email will be generated +# even if all modules reported success. (default = yes) +reportsuccess = yes + +# if set to 'yes', a report email will be generated +# even if there was no error. (default = yes) +reportwarning = yes + +####################################################### +# for most installations, the defaults below are good # +####################################################### + +# where to log: +logfile = @localstatedir@/log/backupninja.log + +# directory where all the backup configuration files live +configdirectory = @CFGDIR@/backup.d + +# where backupninja helper scripts are found +scriptdirectory = @pkgdatadir@ + +# whether to use colors in the log file +usecolors = yes + +# default value for 'when' +when = everyday at 01:00 + +# if running vservers, set to yes +vservers = no +