home · contact · privacy
Fix plomlombot setup.
authorChristian Heller <c.heller@plomlompom.de>
Fri, 17 Dec 2021 17:51:38 +0000 (18:51 +0100)
committerChristian Heller <c.heller@plomlompom.de>
Fri, 17 Dec 2021 17:51:38 +0000 (18:51 +0100)
bullseye/other_files/plomlombot_daemon.sh

index a9285bf3b103453ff0424ec00cc91732fbc30a72..9b9faee9c56f16f08be15da944433a56a991b702 100755 (executable)
@@ -33,7 +33,7 @@ while true; do
                 set -e
                 if [ "${start_screen}" -eq "1" ]; then
                     cd ~/plomlombot-irc
                 set -e
                 if [ "${start_screen}" -eq "1" ]; then
                     cd ~/plomlombot-irc
-                    LANG="en_US.UTF-8" screen -d -m -S "${session_name}" ./run.sh -r 604800 -n "${bot_name}" -s "${server_name}" -c "${channel_name}" ${add_option}
+                    LANG="en_US.UTF-8" screen -d -m -S "${session_name}" ./run.sh -r 604800 -n "${bot_name}" -u "${bot_name}" -s "${server_name}" -c "${channel_name}" ${add_option}
                 fi
                 md5_server=$(echo -n "${server_name}" | md5sum | cut -d' ' -f1)
                 md5_channel=$(echo -n "${channel_name}" | md5sum | cut -d' ' -f1)
                 fi
                 md5_server=$(echo -n "${server_name}" | md5sum | cut -d' ' -f1)
                 md5_channel=$(echo -n "${channel_name}" | md5sum | cut -d' ' -f1)