From 073ace129de258c1c17a1083ab471970f61526a8 Mon Sep 17 00:00:00 2001
From: Christian Heller <c.heller@plomlompom.de>
Date: Tue, 6 Oct 2015 14:54:31 +0200
Subject: [PATCH] Realize previous commit in postinstall script.

---
 jessie_start_server.sh | 13 +------------
 1 file changed, 1 insertion(+), 12 deletions(-)

diff --git a/jessie_start_server.sh b/jessie_start_server.sh
index 1ce2900..0f9746c 100755
--- a/jessie_start_server.sh
+++ b/jessie_start_server.sh
@@ -97,18 +97,7 @@ apt-get -y install iputils-ping
 
 # Set up irssi.
 apt-get -y install irssi
-cat > /etc/systemd/system/irssi.service << EOF
-[Unit]
-Description=irssi screen
-
-[Service]
-Type=forking
-User=plom
-ExecStart=/bin/sh /home/plom/config/other/screen-irssi.sh
-
-[Install]
-WantedBy=multi-user.target
-EOF
+cp config/systemfiles/irssi.service /etc/systemd/system/irssi.service
 systemctl enable /etc/systemd/system/irssi.service
 
 # Clean up.
-- 
2.30.2