Sign in to follow this  
Followers 0
Crank

Server Startet nicht neu

1 post in this topic

Hallo habe ein Startscript mit

#!/bin/bash
while true; do
    if pgrep arma3server >/dev/null 2>&1
    then
        echo "Arma 3 Server IS running! - TAKING NO ACTIONS !"
    else
        echo "Arma 3 Server IS NOT running! - STARTING SERVER IN 3 SECONDS !"
        sleep 3
        cd /home/steam/SERVER_arma3exile/
        screen ./arma3server -config=/home/steam/SERVER_arma3exile/@exileserver/config.cfg -mod=@exile\;@ryanzombies\;kart\;mark\;heli\;@cup\;@natorusvehicle\;@esseker\;@asdg_jr\;@hlcmods -servermod=@exileserver\;@infistar_exile\;@enigma_exile -name=/home/steam/SERVER_arma3exile/sc -profiles=/home/steam/SERVER_arma3exile/sc -port=2302 -AutoInit
        #screen ./testapp1.sh
        echo "SERVER IS RUNNING IN A SCREEN !!"
    fi
    sleep 5s
done
 

 

Leider Startet er nur wen nicht soviel Leute drauf sind oder keine Ahnung xD
Es Funktioniert das Startscript aber manchmal setzt das ding einfach aus.

Mein System Ubuntu 14.04
 

Share this post


Link to post
Share on other sites
Advertisement

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.