From: Christian Heller Date: Tue, 6 Oct 2015 12:54:31 +0000 (+0200) Subject: Realize previous commit in postinstall script. X-Git-Url: https://plomlompom.com/repos/%7B%7Bprefix%7D%7D/%7B%7B%20web_path%20%7D%7D/cards?a=commitdiff_plain;h=073ace129de258c1c17a1083ab471970f61526a8;p=config Realize previous commit in postinstall script. --- 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.