Forum

> > CS2D > Servers > 2 same proccess/server in a Linux VPS
ForenübersichtCS2D-Übersicht Servers-ÜbersichtEinloggen, um zu antworten

Englisch 2 same proccess/server in a Linux VPS

3 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt 2 same proccess/server in a Linux VPS

ReVoltage
User Off Offline

Zitieren
Hello us ,
I want to make 2 servers in a single Linux VPS.
Then I want to use a script like this in my VPS:
1
2
3
4
5
6
ps cax | grep cs2d_dedicated > /dev/null
if [ $? -eq 0 ]; then
echo "Server is running."
else
echo "Server is not running."
fi
That script only able to detect 1 proccess.
Is it possible to make 1 script only detect 1 process? Because I want to run 2 same proccess in a single VPS.
So it will be 1 script for my first server, and 1 script for my second server.
So if it possible, can you tell me how?
If it not, is there any other solution about this problem?

Thanks before..
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antworten Servers-ÜbersichtCS2D-ÜbersichtForenübersicht