home · contact · privacy
Realize previous commit in postinstall script.
authorChristian Heller <c.heller@plomlompom.de>
Tue, 6 Oct 2015 12:54:31 +0000 (14:54 +0200)
committerChristian Heller <c.heller@plomlompom.de>
Tue, 6 Oct 2015 12:54:31 +0000 (14:54 +0200)
jessie_start_server.sh

index 1ce290040790b4dfe62072045bc8a80915de25fb..0f9746c721f485a5c71b1a6661703812947e7bd7 100755 (executable)
@@ -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.