From: Christian Heller Date: Sun, 16 Dec 2018 00:19:52 +0000 (+0100) Subject: Fix play server setup. X-Git-Url: https://plomlompom.com/repos/%7B%7Bdb.prefix%7D%7D/bar%20baz.html?a=commitdiff_plain;h=d68e1bc8cbac09cc951feccefb6e7ec36942de59;p=config Fix play server setup. --- 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