home · contact · privacy
Remove traces of irssi server setup.
authorChristian Heller <c.heller@plomlompom.de>
Sun, 22 Nov 2015 17:27:53 +0000 (18:27 +0100)
committerChristian Heller <c.heller@plomlompom.de>
Sun, 22 Nov 2015 17:27:53 +0000 (18:27 +0100)
bin/screen-irssi.sh [deleted file]
dotfiles_user_server/irssi/config [deleted file]
jessie_start_server.sh
mails/irssi_identify_reminder [deleted file]
systemfiles/irssi.service [deleted file]

diff --git a/bin/screen-irssi.sh b/bin/screen-irssi.sh
deleted file mode 100755 (executable)
index 898968e..0000000
+++ /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 (file)
index aafe9e1..0000000
+++ /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 = { };
index e4ed1727e2e3771f7a87fad7e394205c4c8c3316..a0a8e90668e6ad459b54badf6a37e1aa12d1a0d9 100755 (executable)
@@ -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 (file)
index 9bb8490..0000000
+++ /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 (file)
index 537241c..0000000
+++ /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