Skip to content

Commit f2c20af

Browse files
committed
ligu dtd el aparta dosierujo al dict/
1 parent 1f3953c commit f2c20af

File tree

3 files changed

+11
-5
lines changed

3 files changed

+11
-5
lines changed

Dockerfile

+4-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,10 @@ COPY --chown=afido:afido etc/* etc/
4747
## && unzip master.zip voko-grundo-master/dtd/* && rm master.zip && mkdir dict \
4848
## && ln -s /home/afido/voko-grundo-master/dtd dict/dtd
4949

50-
COPY --from=grundo build/dtd/ dict/dtd
50+
# al dict/dtd ni kreos simbolan ligon per ln -s en setup_dict.sh
51+
# tio plifaciligas munton de dosierujo dict/ en la gastiga medio
52+
#COPY --from=grundo build/dtd/ dict/dtd
53+
COPY --from=grundo build/dtd/ voko-grundo/dtd
5154

5255
# se ni volas uzi la gastigan reton (network_mode: "host) por forsendi retpoŝton
5356
# ni bezonas la eblecon difini alian servo-retpordon tie ĉi,

bin/setup_dict.sh

+5-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,11 @@
22
set -x
33

44
dict=/home/afido/dict
5+
grundo=/home/afido/voko-grundo
6+
7+
mkdir -p ${dict}/xml
8+
mkdir -p ${dict}/tmp
9+
ln -s ${grundo}/dtd ${dict}/tmp/
510

6-
mkdir -p $dict/xml
7-
mkdir -p $dict/tmp
811
chown -R afido:users ${dict}
912

bin/setup_var.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ set -x
44
# FARENDA: legu var el config:
55
# var=$(cat /voko-afido.var_afido)
66
var=/var/afido
7-
dict=/home/afido/dict
7+
grundo=/home/afido/voko-grundo
88

99
mkdir -p ${var}/tmp/mailatt
1010
mkdir -p ${var}/tmp/xml
11-
ln -s ${dict}/dtd ${var}/tmp/
11+
ln -s ${grundo}/dtd ${var}/tmp/
1212

1313
#mkdir -p ${var}/log
1414
mkdir -p ${var}/log/oldmail

0 commit comments

Comments
 (0)