tools/hw2irc/restart
author Wuzzy <Wuzzy@disroot.org>
Wed, 24 May 2023 23:54:58 +0200
changeset 15984 6a985a680c44
parent 15806 823cf18be1fc
permissions -rwxr-xr-x
Don't destroy chat when window loses focus (bug #623)
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
15806
823cf18be1fc Hedgewars lobby to IRC proxy
sheepluva
parents:
diff changeset
     1
#!/bin/bash
823cf18be1fc Hedgewars lobby to IRC proxy
sheepluva
parents:
diff changeset
     2
sudo -u nobody killall java; sleep 3; sudo -u nobody killall -9 java;
823cf18be1fc Hedgewars lobby to IRC proxy
sheepluva
parents:
diff changeset
     3
sleep 30;
823cf18be1fc Hedgewars lobby to IRC proxy
sheepluva
parents:
diff changeset
     4
#sudo -u nobody java net.ercatec.hw2ircsvr.Connection netserver.hedgewars.org 1337 >>out.sheepy 2>>err.sheepy & disown
823cf18be1fc Hedgewars lobby to IRC proxy
sheepluva
parents:
diff changeset
     5
sudo -u nobody bash -c 'java net.ercatec.hw2ircsvr.Connection netserver.hedgewars.org 1337 >>out.sheepy 2>&1 & disown'
823cf18be1fc Hedgewars lobby to IRC proxy
sheepluva
parents:
diff changeset
     6
sleep 122
823cf18be1fc Hedgewars lobby to IRC proxy
sheepluva
parents:
diff changeset
     7
#sudo -u nobody java net.ercatec.hw2ircsvr.Connection >>out 2>>err & disown
823cf18be1fc Hedgewars lobby to IRC proxy
sheepluva
parents:
diff changeset
     8
sudo -u nobody bash -c 'java net.ercatec.hw2ircsvr.Connection >>out 2>&1 & disown'