summaryrefslogtreecommitdiff
path: root/manaplus/connect_local_server.sh
blob: 0f03d0f060b2d6ce6a6ecce53fee1450219d82b6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/env bash

sleep 2

export MANAPLUS="../../manaplus/src/manaplus"
if [ -f "$MANAPLUS" ]; then
    echo "Starting local manaplus"
else
    echo "Starting system manaplus"
    export MANAPLUS="manaplus"
fi

nice -n 18 ${MANAPLUS} -u -d ../../client-data evol.manaplus