From 76fca8f175856cdfaf0b1444cf38f53f7e272cf5 Mon Sep 17 00:00:00 2001 From: Colin Childs Date: Sun, 30 Jul 2017 22:15:42 -0500 Subject: [PATCH] Use ntp instead of tlsdate. Resolve #24. --- README.md | 2 +- bootstrap.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index b4afce4..6fe998d 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ tor-relay-bootstrap does this: * Installs and configures Tor to be a relay (but still requires you to manually edit torrc to set Nickname, ContactInfo, etc. for this relay) * Configures sane default firewall rules * Configures automatic updates -* Installs tlsdate to ensure time is synced +* Installs ntp to ensure time is synced (tlsdate is no longer available in Debian stable) * Installs monit and activate config to auto-restart all services * Helps harden the ssh server * Gives instructions on what the sysadmin needs to manually do at the end diff --git a/bootstrap.sh b/bootstrap.sh index a2f8802..3fb7107 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -58,8 +58,8 @@ apt-get install -y apparmor apparmor-profiles apparmor-utils sed -i.bak 's/GRUB_CMDLINE_LINUX="\(.*\)"/GRUB_CMDLINE_LINUX="\1 apparmor=1 security=apparmor"/' /etc/default/grub update-grub -# install tlsdate -apt-get install -y tlsdate +# install ntp (tlsdate is no longer available in Debian stable) +apt-get install -y ntp # install monit apt-get install -y monit