Ik heb het gezocht, heb wel wat gevonden maar dat ging over cod.
Ik heb hier een debian draaien hierop komt een css server.
CSS staat erop.
Nu wil ik hem in de achtergrond als proces draaien.
Op internet kwam ik het volgende tegen:
Met apt-get install screen binnengehaald.PHP Code:We will make a script that will run the srcds in the background in a "screen"
you will need to have screen installed for this. make a file called server.sh and put this in:
Command(s):
#!/bin/sh
echo "Starting Cs:Source Server"
sleep 1
screen -A -m -d -S css-server ./srcds_run -console -game cstrike +map de_dust +maxplayers 16 -autoupdate
Save the file, and chmod it to run
Command(s):
chmod +x server.sh
If you want to start your server, simply run server.sh . It will start your srcd server in the background, to open it type:
Command(s):
screen -x css-server
En wat hier boven staat allemaal uitgevoerd.
Krijg een foutmelding:
Wat doe ik fout?PHP Code:css@xxxxx:~/srcds$ ./server.sh
Starting Cs:Source Server
./server.sh: line 5: de_dust: command not found
css@xxxxx:~/srcds$ ./server.sh

Likes:


Quote
-L
Word een 100 Tickrate server.