Skip to content

Instantly share code, notes, and snippets.

@jurkan
jurkan / manademo
Created July 3, 2012 20:02
Manaclientautoupdate
#!/bin/bash
case $1 in
start)
cd /srv/manademo/
rm ./manaserv-game.log
rm ./manaserv-account.log
su manademo -c "HOME=\"/srv/manademo\" ./start-server.sh 2>/dev/null" > /dev/null &
;;
stop)