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:~#