Move configuration to autotools template
authorMicah Anderson <micah@riseup.net>
Wed, 26 Oct 2005 23:00:18 +0000 (23:00 +0000)
committerMicah Anderson <micah@riseup.net>
Wed, 26 Oct 2005 23:00:18 +0000 (23:00 +0000)
etc/backupninja.conf [deleted file]
etc/backupninja.conf.in [new file with mode: 0644]

diff --git a/etc/backupninja.conf b/etc/backupninja.conf
deleted file mode 100644 (file)
index 6fe2708..0000000
+++ /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 (file)
index 0000000..f64e16f
--- /dev/null
@@ -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
+