Forráskód Böngészése

gamelogs now symlink

Daniel Gibbs 10 éve
szülő
commit
6f16645e29
2 módosított fájl, 2 hozzáadás és 2 törlés
  1. 1 1
      UnrealTournament99/ut99server
  2. 1 1
      lgsm/functions/install_logs.sh

+ 1 - 1
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"

+ 1 - 1
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