Skip to content
Permalink
Browse files

Merge pull request #805 from freedomofpress/minimize-plaintext-retent…

…ion-with-reboot

Reboot every 24 hours to periodically wipe memory
  • Loading branch information...
garrettr committed Dec 16, 2014
2 parents 93c10c9 + 1dbab3c commit 6f4bc2fd40e4116548f2beddbea8de44f943536f
Showing with 7 additions and 2 deletions.
  1. +7 −2 install_files/ansible-base/roles/common/files/cron-apt
@@ -1,7 +1,12 @@
#
# Regular cron jobs for the cron-apt package
#

# Every night at 4 o'clock run cron-apt
0 4 * * * root /usr/bin/test -x /usr/sbin/cron-apt && /usr/sbin/cron-apt
# Every night at 5 o'clock if reboot is required reboot
0 5 * * * root /usr/bin/test -e /var/run/reboot-required && /sbin/reboot

# Every night at 5 o'clock reboot (regardless of whether reboot is
# required by the most recent package upgrade). This guarantees that
# submission plaintext will be retained in memory for at most 24
# hours.
0 5 * * * root /sbin/reboot

0 comments on commit 6f4bc2f

Please sign in to comment.
You can’t perform that action at this time.