keyserver debug level

This commit is contained in:
Bob Mottram 2017-07-30 14:10:05 +01:00
parent efa7548513
commit a03db43778
1 changed files with 6 additions and 0 deletions

View File

@ -550,6 +550,12 @@ function install_keyserver {
sed -i "s|#disable_log_diffs:.*|disable_log_diffs:|g" $sksconf_file
sed -i "s|disable_log_diffs:.*|disable_log_diffs:|g" $sksconf_file
fi
if ! grep -q "debuglevel:" $sksconf_file; then
echo "debuglevel: 0" >> $sksconf_file
else
sed -i "s|#debuglevel:.*|debuglevel: 0|g" $sksconf_file
sed -i "s|debuglevel:.*|debuglevel: 0|g" $sksconf_file
fi
chown debian-sks: $sksconf_file