From: Christian Heller Date: Sun, 18 Oct 2015 18:25:29 +0000 (+0200) Subject: Replace tmux with screen again. X-Git-Url: https://plomlompom.com/repos/%7B%7Bprefix%7D%7D/static/%7B%7Byoutube_prefix%7D%7D%7B%7Bvideo_data.id_%7D%7D?a=commitdiff_plain;h=d2692ee12bac1d8000eb678b3ae21e3be14d8a22;p=config Replace tmux with screen again. --- 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