Browse Source

gamelogs now symlink

pull/820/merge
Daniel Gibbs 9 years ago
parent
commit
6f16645e29
  1. 2
      UnrealTournament99/ut99server
  2. 2
      lgsm/functions/install_logs.sh

2
UnrealTournament99/ut99server

@ -59,7 +59,7 @@ backupdir="${rootdir}/backups"
# Logging
logdays="7"
gamelogdir="${systemdir}/Logs/"
gamelogdir="${filesdir}/Logs"
scriptlogdir="${rootdir}/log/script"
consolelogdir="${rootdir}/log/console"
consolelogging="on"

2
lgsm/functions/install_logs.sh

@ -22,7 +22,7 @@ if [ -n "${consolelogdir}" ]; then
fi
# If a server is source or goldsource, Teamspeak 3, Starbound, Project Zomhoid create a symbolic link to the game server logs.
if [ "${engine}" == "source" ]||[ "${engine}" == "goldsource" ]||[ "${gamename}" == "Teamspeak 3" ]||[ "${engine}" == "starbound" ]||[ "${engine}" == "projectzomboid" ]; then
if [ "${engine}" == "source" ]||[ "${engine}" == "goldsource" ]||[ "${gamename}" == "Teamspeak 3" ]||[ "${engine}" == "starbound" ]||[ "${engine}" == "projectzomboid" ]||[ "${engine}" == "unreal" ]; then
if [ ! -h "${rootdir}/log/server" ]; then
ln -nfsv "${gamelogdir}" "${rootdir}/log/server"
fi

Loading…
Cancel
Save