From d2692ee12bac1d8000eb678b3ae21e3be14d8a22 Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Sun, 18 Oct 2015 20:25:29 +0200 Subject: [PATCH] Replace tmux with screen again. --- jessie_start_server.sh | 7 ++----- systemfiles/weechat.service | 4 ++-- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/jessie_start_server.sh b/jessie_start_server.sh index 9effbaa..244167d 100755 --- a/jessie_start_server.sh +++ b/jessie_start_server.sh @@ -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 diff --git a/systemfiles/weechat.service b/systemfiles/weechat.service index fbf4b78..5fb3e0f 100644 --- a/systemfiles/weechat.service +++ b/systemfiles/weechat.service @@ -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 -- 2.30.2