home
·
contact
·
privacy
projects
/
config
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Change default mail server domain.
[config]
/
all_new_2018
/
user_files
/
plomlombot_daemon.sh
diff --git
a/all_new_2018/user_files/plomlombot_daemon.sh
b/all_new_2018/user_files/plomlombot_daemon.sh
index a74c24b29f6c79939a8092ae487730f070e956ac..5cf1f6a14bfb23946d67811382fb312e32b62209 100755
(executable)
--- a/
all_new_2018/user_files/plomlombot_daemon.sh
+++ b/
all_new_2018/user_files/plomlombot_daemon.sh
@@
-41,8
+41,8
@@
while true; do
ln -sfn "${logs_dir}" "${irclogs_dir}/${shortened_channel_name}"
echo "${login_user}":'{PLAIN}'"${login_pw}" > "${irclogs_pw_dir}/${shortened_channel_name}"
ln -sfn "${logs_dir}" "${irclogs_dir}/${shortened_channel_name}"
echo "${login_user}":'{PLAIN}'"${login_pw}" > "${irclogs_pw_dir}/${shortened_channel_name}"
- # If "
key:
" line, encrypt old raw logs to that GPG key.
- elif [ "${first_word}" = "gpg_key"
:
]; then
+ # If "
gpg
" line, encrypt old raw logs to that GPG key.
+ elif [ "${first_word}" = "gpg_key" ]; then
key=$(echo -n "${line}" | cut -d' ' -f2)
mkdir -p ~/plomlombot_db
cd ~/plomlombot_db
key=$(echo -n "${line}" | cut -d' ' -f2)
mkdir -p ~/plomlombot_db
cd ~/plomlombot_db