diff --git a/README.md b/README.md index 7f53539..4c28757 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,11 @@ We assume you have created the `steam` user to store steamcmd and your ARK serve ## Requirements Use this command to install soft requirement on your system ``` -apt-get install screen unzip +# Debian based/ Ubuntu +apt-get install screen + +# RHEL / CentOS / Fedora +yum install screen ``` Edit /etc/sysctl.conf and set: diff --git a/tools/arkdaemon b/tools/arkdaemon index d8e39f6..5fb27d9 100644 --- a/tools/arkdaemon +++ b/tools/arkdaemon @@ -9,6 +9,8 @@ # ### END INIT INFO +# NOTICE: this daemon can work only if your system supports start-stop-daemon + # Using the lsb functions to perform the operations. . /lib/lsb/init-functions diff --git a/tools/arkmanager b/tools/arkmanager index 2f90b83..bc43f90 100755 --- a/tools/arkmanager +++ b/tools/arkmanager @@ -97,7 +97,7 @@ function isTheServerRunning(){ return $result } -function IsTheServerUp(){ +function isTheServerUp(){ # # Check if the server is up and visible in steam server list # If the server is listenning on his port return 0, else return 1 @@ -219,7 +219,7 @@ printStatus(){ echo -e "$NORMAL" "Server running:" "$RED" "No" fi - if IsTheServerUp ;then + if isTheServerUp ;then echo -e "$NORMAL" "Server online:" "$GREEN" " Yes" else echo -e "$NORMAL" "Server online:" "$RED" " No"