Re: Install L2JServer in Ubuntu Server Version
Posted: Thu Sep 29, 2016 9:57 am
Yes I know this, probably I didn't explain my problem in the right way.
I want to see the various echo command inside the script, something like and so on.
Look at that portion of the script As you can see I have a lot of echo commands inside, but when I run in shell nothing appears, just freeze for a little (the time needed to work the stop process) and than the normal prompt
I want to see the various echo command inside the script, something like
Code: Select all
Game Server shutted down. Shutting down the Game Java Server
Look at that portion of the script
Code: Select all
#!/bin/sh
# Change here your home directory for Lineage server. Absolute path
base=/srv/L2J_Server/
stop_l2parallel() {
#Stop Game Server script and java
if [ -n "$(pgrep -f GameServer_loop.sh)" ]; then
pkill -f GameServer_loop.sh
echo Script del Game Server fermato
else
echo =========================================
echo Script del Game Server non in esecuzione!
echo =========================================
fi
Code: Select all
service l2server stop
Code: Select all
xxxxxxxx@vps287812:~# service l2server stop
xxxxxxxx@vps287812:~#