From: micah Date: Wed, 26 Oct 2005 23:00:18 +0000 (+0000) Subject: Move configuration to autotools template X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=67818d269d2d5d55457844dc6be3a085acea0dea;p=matthijs%2Fupstream%2Fbackupninja.git Move configuration to autotools template git-svn-id: http://code.autistici.org/svn/backupninja/trunk@197 758a04ac-41e6-0310-8a23-8373a73cc35d --- 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 +