|
|
@ -37,6 +37,9 @@ displayip="" |
|
|
|
# More info | https://docs.linuxgsm.com/alerts#more-info |
|
|
|
postalert="off" |
|
|
|
|
|
|
|
# Alert on Start/Stop/Restart |
|
|
|
statusalert="off" |
|
|
|
|
|
|
|
# Discord Alerts | https://docs.linuxgsm.com/alerts/discord |
|
|
|
discordalert="off" |
|
|
|
discordwebhook="webhook" |
|
|
@ -56,14 +59,6 @@ iftttalert="off" |
|
|
|
ifttttoken="accesstoken" |
|
|
|
iftttevent="linuxgsm_alert" |
|
|
|
|
|
|
|
# Mailgun Email Alerts | https://docs.linuxgsm.com/alerts/mailgun |
|
|
|
mailgunalert="off" |
|
|
|
mailgunapiregion="us" |
|
|
|
mailguntoken="accesstoken" |
|
|
|
mailgundomain="example.com" |
|
|
|
mailgunemailfrom="alert@example.com" |
|
|
|
mailgunemail="email@myemail.com" |
|
|
|
|
|
|
|
# Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet |
|
|
|
pushbulletalert="off" |
|
|
|
pushbullettoken="accesstoken" |
|
|
@ -77,7 +72,6 @@ pushoveruserkey="userkey" |
|
|
|
# Rocket.Chat Alerts | https://docs.linuxgsm.com/alerts/rocket.chat |
|
|
|
rocketchatalert="off" |
|
|
|
rocketchatwebhook="webhook" |
|
|
|
rocketchattoken="" |
|
|
|
|
|
|
|
# Slack Alerts | https://docs.linuxgsm.com/alerts/slack |
|
|
|
slackalert="off" |
|
|
@ -90,6 +84,8 @@ telegramapi="api.telegram.org" |
|
|
|
telegramalert="off" |
|
|
|
telegramtoken="accesstoken" |
|
|
|
telegramchatid="" |
|
|
|
telegramthreadid="" |
|
|
|
telegramsilentnotification="false" |
|
|
|
curlcustomstring="" |
|
|
|
|
|
|
|
## Updating | https://docs.linuxgsm.com/commands/update |
|
|
@ -175,7 +171,7 @@ servercfgfullpath="${servercfgdir}/${servercfg}" |
|
|
|
backupdir="${lgsmdir}/backups" |
|
|
|
|
|
|
|
## Logging Directories |
|
|
|
logdir="${rootdir}/log" |
|
|
|
[ -n "${LGSM_LOGDIR}" ] && logdir="${LGSM_LOGDIR}" || logdir="${rootdir}/log" |
|
|
|
gamelogdir="${systemdir}/logs" |
|
|
|
lgsmlogdir="${logdir}/script" |
|
|
|
consolelogdir="${logdir}/console" |
|
|
@ -187,3 +183,7 @@ postdetailslog="${lgsmlogdir}/${selfname}-postdetails.log" |
|
|
|
## Logs Naming |
|
|
|
lgsmlogdate="${lgsmlogdir}/${selfname}-script-$(date '+%Y-%m-%d-%H:%M:%S').log" |
|
|
|
consolelogdate="${consolelogdir}/${selfname}-console-$(date '+%Y-%m-%d-%H:%M:%S').log" |
|
|
|
|
|
|
|
## Log Parameters |
|
|
|
logtimestamp="off" |
|
|
|
logtimestampformat="%Y-%m-%d %H:%M:%S" |
|
|
|