Skip to content

Commit 40e7c8b

Browse files
authored
Update variables.sh: Add ALLSKY_WEB_LOGS
This is a location the web server can see, without letting see everything in /config or /config/logs.
1 parent aaa6c7a commit 40e7c8b

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

variables.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,11 @@ if [[ -z "${ALLSKY_VARIABLE_SET}" || ${1} == "--force" ]]; then
150150

151151
# Log-related information.
152152
ALLSKY_LOGS="${ALLSKY_CONFIG}/logs"
153-
ALLSKY_POST_INSTALL_ACTIONS="${ALLSKY_LOGS}/post-installation_actions.txt"
153+
ALLSKY_WEB_LOGS="${ALLSKY_LOGS}/weblogs" # logs the web browser can get to
154+
ALLSKY_WEB_LOGS_URL="/$( basename "${ALLSKY_WEB_LOGS}" )"
155+
P="post-installation_actions.txt"
156+
ALLSKY_POST_INSTALL_ACTIONS="${ALLSKY_WEB_LOGS}/${P}"
157+
ALLSKY_POST_INSTALL_ACTIONS_URL="${ALLSKY_WEB_LOGS_URL}/${P}"
154158
ALLSKY_OLD_REMINDER="${ALLSKY_LOGS}/allsky-OLD_reminder.txt"
155159
ALLSKY_CHECK_LOG="${ALLSKY_LOGS}/checkAllsky.html"
156160

0 commit comments

Comments
 (0)