diff --git a/.gitignore b/.gitignore index e38b40e..55d1ec7 100644 --- a/.gitignore +++ b/.gitignore @@ -21,6 +21,7 @@ lib64 # Installer logs pip-log.txt install_valence.log +etc/valence.conf.sample # Unit test / coverage reports .coverage diff --git a/install_valence.sh b/install_valence.sh index 64dbf7e..ddc9d67 100755 --- a/install_valence.sh +++ b/install_valence.sh @@ -45,7 +45,7 @@ if [ ! -d "/etc/valence" ]; then fi chown "$CURR_USER":"$CURR_USER" /etc/valence VALENCE_CONF=/etc/valence/valence.conf -cp "$DIR"/etc/valence.conf.sample /etc/valence/valence.conf +mv "$DIR"/etc/valence.conf.sample "$VALENCE_CONF" sudo sed -i "s/#debug\s*=.*/debug=true/" $VALENCE_CONF sudo sed -i "s/#log_level\s*=.*/log_level=debug/" $VALENCE_CONF