File tree Expand file tree Collapse file tree 7 files changed +10
-10
lines changed Expand file tree Collapse file tree 7 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ ENV RUBY_VERSION=2.3 \
13
13
ENV REDMINE_INSTALL_DIR="${REDMINE_HOME}/redmine" \
14
14
REDMINE_DATA_DIR="${REDMINE_HOME}/data" \
15
15
REDMINE_BUILD_ASSETS_DIR="${REDMINE_ASSETS_DIR}/build" \
16
- REDMINE_RUNTIME_DIR ="${REDMINE_ASSETS_DIR}/runtime"
16
+ REDMINE_RUNTIME_ASSETS_DIR ="${REDMINE_ASSETS_DIR}/runtime"
17
17
18
18
RUN apt-get update \
19
19
&& DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y \
@@ -41,7 +41,7 @@ COPY assets/build/ ${REDMINE_BUILD_ASSETS_DIR}/
41
41
42
42
RUN bash ${REDMINE_BUILD_ASSETS_DIR}/install.sh
43
43
44
- COPY assets/runtime/ ${REDMINE_RUNTIME_DIR }/
44
+ COPY assets/runtime/ ${REDMINE_RUNTIME_ASSETS_DIR }/
45
45
46
46
COPY assets/tools/ /usr/bin/
47
47
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ cat > /tmp/cron.${REDMINE_USER} <<EOF
24
24
REDMINE_USER=${REDMINE_USER}
25
25
REDMINE_INSTALL_DIR=${REDMINE_INSTALL_DIR}
26
26
REDMINE_DATA_DIR=${REDMINE_DATA_DIR}
27
- REDMINE_RUNTIME_DIR =${REDMINE_RUNTIME_DIR }
27
+ REDMINE_RUNTIME_ASSETS_DIR =${REDMINE_RUNTIME_ASSETS_DIR }
28
28
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
29
29
EOF
30
30
crontab -u ${REDMINE_USER} /tmp/cron.${REDMINE_USER}
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
set -e
3
- source ${REDMINE_RUNTIME_DIR } /env-defaults
3
+ source ${REDMINE_RUNTIME_ASSETS_DIR } /env-defaults
4
4
5
- SYSCONF_TEMPLATES_DIR=" ${REDMINE_RUNTIME_DIR } /config"
5
+ SYSCONF_TEMPLATES_DIR=" ${REDMINE_RUNTIME_ASSETS_DIR } /config"
6
6
USERCONF_TEMPLATES_DIR=" ${REDMINE_DATA_DIR} /config"
7
7
8
8
REDMINE_CONFIG=" ${REDMINE_INSTALL_DIR} /config/configuration.yml"
@@ -127,7 +127,7 @@ redmine_finalize_database_parameters() {
127
127
DB_USER=${DB_USER:- ${POSTGRESQL_ENV_POSTGRES_USER} }
128
128
DB_PASS=${DB_PASS:- ${POSTGRESQL_ENV_POSTGRES_PASSWORD} }
129
129
DB_NAME=${DB_NAME:- ${POSTGRESQL_ENV_POSTGRES_DB} }
130
- # TODO: Probally BUG Let See if some one has errors
130
+ # TODO: Probally BUG Let See if some one has errors
131
131
# i don't get errors
132
132
# DB_NAME=${DB_NAME:-${POSTGRESQL_ENV_POSTGRES_USER}}
133
133
Original file line number Diff line number Diff line change 2
2
# # Script to generate backup of running Redmine instance from the BASH shell
3
3
4
4
set -e
5
- source ${REDMINE_RUNTIME_DIR } /functions
5
+ source ${REDMINE_RUNTIME_ASSETS_DIR } /functions
6
6
7
7
backup_create $@
Original file line number Diff line number Diff line change 2
2
# # Script to generate backup of running Redmine instance from the BASH shell
3
3
4
4
set -e
5
- source ${REDMINE_RUNTIME_DIR } /functions
5
+ source ${REDMINE_RUNTIME_ASSETS_DIR } /functions
6
6
7
7
install_plugins
8
8
Original file line number Diff line number Diff line change 2
2
# # Script to generate backup of running Redmine instance from the BASH shell
3
3
4
4
set -e
5
- source ${REDMINE_RUNTIME_DIR } /functions
5
+ source ${REDMINE_RUNTIME_ASSETS_DIR } /functions
6
6
7
7
install_themes
8
8
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
set -e
3
- source ${REDMINE_RUNTIME_DIR } /functions
3
+ source ${REDMINE_RUNTIME_ASSETS_DIR } /functions
4
4
5
5
[[ $DEBUG == true ]] && set -x
6
6
You can’t perform that action at this time.
0 commit comments