Replaced legacy scriptlogdir with lgsmlogdir
@ -95,5 +95,5 @@ consolelog="${consolelogdir}/${servicename}-console.log"
emaillog="${lgsmlogdir}/${servicename}-email.log"
## Logs Naming
lgsmlogdate="${scriptlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log"
consolelogdate="${consolelogdir}/${servicename}-console-$(date '+%Y-%m-%d-%H:%M:%S').log"
@ -74,5 +74,5 @@ consolelog="${consolelogdir}/${servicename}-console.log"
@ -85,5 +85,5 @@ consolelog="${consolelogdir}/${servicename}-console.log"
@ -94,5 +94,5 @@ consolelog="${consolelogdir}/${servicename}-console.log"
@ -90,5 +90,5 @@ consolelog="${consolelogdir}/${servicename}-console.log"
@ -118,5 +118,5 @@ consolelog="${consolelogdir}/${servicename}-console.log"
@ -87,5 +87,5 @@ consolelog="${consolelogdir}/${servicename}-console.log"
@ -82,7 +82,6 @@ backupdir="${rootdir}/backups"
## Logging Directories
logdir="${rootdir}/log"
gamelogdir="${systemdir}/logs"
scriptlogdir="${logdir}/script"
consolelogdir="${logdir}/console"
lgsmlog="${lgsmlogdir}/${servicename}-script.log"
consolelog="${consolelogdir}/${servicename}-console.log"
@ -21,10 +21,6 @@ if [ -z "${lgsmlog}" ]; then
lgsmlog="${scriptlog}"
fi
if [ -z "${lgsmlogdir}" ]; then
lgsmlogdir="${scriptlogdir}"
if [ -z "${lgsmlogdate}" ]; then
lgsmlogdate="${scriptlogdate}"