21 lines
294 B
Bash
21 lines
294 B
Bash
#!/bin/bash
|
|
|
|
cd ~/
|
|
|
|
echo "install game"
|
|
pip3 install piqueserver
|
|
source ~/.profile
|
|
|
|
echo "init conf files"
|
|
|
|
piqueserver --copy-config
|
|
|
|
echo "cp config"
|
|
|
|
cp ~/git/onFOSS-LAN-Serverconfiguration/openspades/config.toml ~/.config/piqueserver/
|
|
|
|
echo "start server"
|
|
|
|
nohup piqueserver &>/dev/null &
|
|
|