diff --git a/etc/backupninja.conf b/etc/backupninja.conf.in
similarity index 91%
rename from etc/backupninja.conf
rename to etc/backupninja.conf.in
index 6fe2708b4ad749d5425c026e6ae4aad756549993..f64e16f9a0dd952c6e1693bf21a15950cd947a59 100644
--- a/etc/backupninja.conf
+++ b/etc/backupninja.conf.in
@@ -30,13 +30,13 @@ reportwarning = yes
 #######################################################
 
 # where to log:
-logfile = /var/log/backupninja.log
+logfile = @localstatedir@/log/backupninja.log
 
 # directory where all the backup configuration files live
-configdirectory = /etc/backup.d
+configdirectory = @CFGDIR@/backup.d
 
 # where backupninja helper scripts are found
-scriptdirectory = /usr/share/backupninja
+scriptdirectory = @pkgdatadir@
 
 # whether to use colors in the log file
 usecolors = yes