--- /dev/null
+#!/bin/sh
+
+# Wait until online.
+online=0
+while [ $online -eq 0 ]; do
+ ping -q -w 1 -c 1 `ip r | grep default | cut -d ' ' -f 3` > /dev/null && \
+ online=1 || online=0
+done
+echo 1
+
+# Start irssi in shell in screen.
+screen -d -m -S irssi
+screen -S irssi -X stuff 'irssi\n'
+++ /dev/null
-#!/bin/sh
-
-# Wait until online.
-online=0
-while [ $online -eq 0 ]; do
- ping -q -w 1 -c 1 `ip r | grep default | cut -d ' ' -f 3` > /dev/null && \
- online=1 || online=0
-done
-echo 1
-
-# Start irssi in shell in screen.
-screen -d -m -S irssi
-screen -S irssi -X stuff 'irssi\n'
[Service]
Type=forking
User=plom
-ExecStart=/bin/sh /home/plom/config/other/screen-irssi.sh
+ExecStart=/bin/sh /home/plom/config/bin/screen-irssi.sh
[Install]
WantedBy=multi-user.target