From: Christian Heller Date: Sun, 22 Nov 2015 17:27:53 +0000 (+0100) Subject: Remove traces of irssi server setup. X-Git-Url: https://plomlompom.com/repos/%27%29;%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20chunks.push%28escapeHTML%28span%5B2%5D%29%29;%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20chunks.push%28%27?a=commitdiff_plain;h=edbb8924637ca3dd21fded5c7cb8f557679ebcf8;p=config Remove traces of irssi server setup. --- diff --git a/bin/screen-irssi.sh b/bin/screen-irssi.sh deleted file mode 100755 index 898968e..0000000 --- a/bin/screen-irssi.sh +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/sh - -# Wait until online. -online=0 -while [ $online -eq 0 ]; do - ping -q -w 1 -c 1 `ip r | grep default | cut -d ' ' -f 3` > /dev/null && \ - online=1 || online=0 -done - -# Start shell in screen, wait until it's created, then start irssi in it. -screen -d -U -m -S irssi -screen_available=0 -while [ $screen_available -eq 0 ]; do - screen_available=`screen -list | grep irssi | wc -l` -done -screen -S irssi -X stuff 'irssi\n' - -# Send mail to remind user to re-identify to NickServ. -~/config/bin/simplemail.sh ~/config/mails/irssi_identify_reminder diff --git a/dotfiles_user_server/irssi/config b/dotfiles_user_server/irssi/config deleted file mode 100644 index aafe9e1..0000000 --- a/dotfiles_user_server/irssi/config +++ /dev/null @@ -1,36 +0,0 @@ -settings = { - core = { - real_name = "Christian Heller"; - user_name = "plom"; - nick = "plomlompom"; - }; - "fe-common/core" = { - autolog = "yes"; - autolog_path = "~/irssilogs/$tag/$0.log"; - term_charset = "utf-8"; - }; - "fe-text" = { actlist_sort = "refnum"; }; -}; -servers = ( - { - address = "irc.freenode.net"; - chatnet = "freenode"; - autoconnect = "yes"; - } -); -chatnets = { freenode = { type = "IRC"; }; }; -channels = ( - { name = "#nodrama.de"; chatnet = "freenode"; autojoin = "yes"; }, - { name = "#twitter.de"; chatnet = "freenode"; autojoin = "yes"; }, - { - name = "#freie-gesellschaft"; - chatnet = "freenode"; - autojoin = "yes"; - }, - { - name = "#dumme-gesellschaft"; - chatnet = "freenode"; - autojoin = "yes"; - } -); -logs = { }; diff --git a/jessie_start_server.sh b/jessie_start_server.sh index e4ed172..a0a8e90 100755 --- a/jessie_start_server.sh +++ b/jessie_start_server.sh @@ -113,17 +113,6 @@ fi cp config/systemfiles/weechat.service /etc/systemd/system/weechat.service systemctl enable /etc/systemd/system/weechat.service -# Set up screen. -#apt-get -y install screen -# -# Set up ping. -#apt-get -y install iputils-ping -# -# Set up irssi. -#apt-get -y install irssi -#cp config/systemfiles/irssi.service /etc/systemd/system/irssi.service -#systemctl enable /etc/systemd/system/irssi.service - # Clean up. rm jessie_start_server.sh diff --git a/mails/irssi_identify_reminder b/mails/irssi_identify_reminder deleted file mode 100644 index 9bb8490..0000000 --- a/mails/irssi_identify_reminder +++ /dev/null @@ -1,4 +0,0 @@ -[SYSADMIN] irssi restarted, re-identify! - -Your irssi was restarted, so don't forget to re-identify to Nickserv via -"/msg nickserv identify [password]". diff --git a/systemfiles/irssi.service b/systemfiles/irssi.service deleted file mode 100644 index 537241c..0000000 --- a/systemfiles/irssi.service +++ /dev/null @@ -1,12 +0,0 @@ -# /etc/systemd/system/irssi.service - -[Unit] -Description=irssi screen - -[Service] -Type=forking -User=plom -ExecStart=/home/plom/config/bin/screen-irssi.sh - -[Install] -WantedBy=multi-user.target