Don't need daily sks script because an equivalent one is already installed by the debian package
This commit is contained in:
parent
cc922b3b56
commit
1d3e165d2d
|
@ -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
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue