From d68e1bc8cbac09cc951feccefb6e7ec36942de59 Mon Sep 17 00:00:00 2001
From: Christian Heller <c.heller@plomlompom.de>
Date: Sun, 16 Dec 2018 01:19:52 +0100
Subject: [PATCH] Fix play server setup.

---
 all_new_2018/setup_scripts/setup_play.sh | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/all_new_2018/setup_scripts/setup_play.sh b/all_new_2018/setup_scripts/setup_play.sh
index a226ca0..f37be49 100755
--- a/all_new_2018/setup_scripts/setup_play.sh
+++ b/all_new_2018/setup_scripts/setup_play.sh
@@ -12,9 +12,10 @@ config_tree_prefix="${HOME}/config/all_new_2018"
 setup_scripts_dir="${config_tree_prefix}/setup_scripts"
 cd "${setup_scripts_dir}"
 
+# If anything strange happens, let root send mail to us.
 ./setup_sendonly.sh
 
-./add_encryption_key.sh "${gpg_key}"
+# Apart from weechat, vim and screen will also be useful for everyday activity.
 apt -y install weechat screen vim
 
 # Link and copy over files.
@@ -30,5 +31,6 @@ echo "$gpg_key" > /home/plom/.encrypt_target
 chown plom:plom /home/plom/.encrypt_target
 
 # Start encrypt_chatlogs job.
+./add_encryption_key.sh "${gpg_key}"
 systemctl daemon-reload
 systemctl start encrypt_chatlogs.timer
-- 
2.30.2