Don't need daily sks script because an equivalent one is already installed by the debian package

This commit is contained in:
Bob Mottram 2017-08-04 23:34:42 +01:00
parent cc922b3b56
commit 1d3e165d2d
1 changed files with 0 additions and 11 deletions

View File

@ -82,17 +82,6 @@ function keyserver_watchdog {
echo 'fi' >> $keyserver_watchdog_script
chmod +x $keyserver_watchdog_script
# clear out log files daily
keyserver_watchdog_script=/etc/cron.daily/keyserver-db
echo '#!/bin/sh' > $keyserver_watchdog_script
echo 'if [ -d /var/lib/sks/DB ]; then' >> $keyserver_watchdog_script
echo ' cd /var/lib/sks/DB' >> $keyserver_watchdog_script
echo ' systemctl stop sks' >> $keyserver_watchdog_script
echo ' db_archive -d' >> $keyserver_watchdog_script
echo ' systemctl start sks' >> $keyserver_watchdog_script
echo 'fi' >> $keyserver_watchdog_script
chmod +x $keyserver_watchdog_script
}