home · contact · privacy
Replace tmux with screen again.
authorChristian Heller <c.heller@plomlompom.de>
Sun, 18 Oct 2015 18:25:29 +0000 (20:25 +0200)
committerChristian Heller <c.heller@plomlompom.de>
Sun, 18 Oct 2015 18:25:29 +0000 (20:25 +0200)
jessie_start_server.sh
systemfiles/weechat.service

index 9effbaa97eb471b8cd4f5785153d0d2bdf0c2b58..244167dae57fd0427968262c3bf45ceaa664a9d4 100755 (executable)
@@ -103,11 +103,8 @@ service postfix restart
 apt-get -y install cron
 su plom -c "echo '0 18 * * 0 ~/config/bin/simplemail.sh ~/config/mails/update_reminder' | crontab -"
 
-# Set up tmux.
-apt-get -y install tmux
-
-# Set up weechat, OTR, bitlbee.
-apt-get -y install weechat-plugins python-potr bitlbee
+# Set up screen, weechat, OTR, bitlbee.
+apt-get -y install screen weechat-plugins python-potr bitlbee
 cp config/systemfiles/weechat.service  /etc/systemd/system/weechat.service
 systemctl enable /etc/systemd/system/weechat.service
 
index fbf4b78c56df59b13c1cfca9c2f15c452b430e82..5fb3e0f4cea2b00f0a2fe44230704c226bc81107 100644 (file)
@@ -1,12 +1,12 @@
 # /etc/systemd/system/weechat.service
 
 [Unit]
-Description=tmux weechat
+Description=weechat screen
 
 [Service]
 Type=forking
 User=plom
-ExecStart=/usr/bin/tmux new-session -d '~/config/bin/weechat-wrapper.sh'
+ExecStart=/bin/sh -c 'LC_ALL=en_US.UTF8 screen -d -m ~/config/bin/weechat-wrapper.sh'
 
 [Install]
 WantedBy=multi-user.target